strntoupper()

strntoupper()#

Convert a string to uppercase up to a specified length.

Prototype

PUBLIC char *strntoupper(
    char        *dest,
    const char  *src,
    int         n
);
        

Parameters

Key

Type

Description

dest

char *

The destination buffer for the uppercase string.

src

const char *

The source string to convert.

n

int

The maximum number of characters to convert.


Return Value

Returns the destination buffer containing the uppercase string.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples