Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

C locale

&pagelevel(4)&pagelevel

This locale is designated as “C” or LC_C_C. It is the default locale when the program starts (with one exception: if the main routine is a C V1.0 object, then “V1CTYPE” applies, see "Compatible locales V1CTYPE and V2CTYPE").

The C locale has the following effects in the various categories:

LC_CTYPE

The classification corresponds to the EBCDIC definition of the individual characters (EBCDIC.DF.03, international version).

LC_NUMERIC

The information defined in localeconv has the following values:

decimal_point

’.’

thousands_sep

""

grouping

""


LC_MONETARY

The information defined in localeconv has the following values:

int_curr_symbol

""

currency_symbol

""

mon_decimal_point

""

mon_thousands_sep

""

mon_grouping

""

positive_sign

""

negative_sign

""

int_frac_digits

CHAR_MAX (= 255)

frac_digits

CHAR_MAX

p_cs_precedes

CHAR_MAX

n_cs_precedes

CHAR_MAX

p_sep_by_space

CHAR_MAX

n_sep_by_space

CHAR_MAX

p_sign_pos

CHAR_MAX

n_sign_pos

CHAR_MAX


LC_TIME

English is used for the days of the week and the months of the year. The formats for date and time comply with the standard conventions for English-speaking countries.

LC_COLLATE

The category LC_COLLATE affects the sorting sequence for the functions strcoll, strxfrm, wcscoll and wcsxfrm. In the default location "C", the sorting sequence complies with the definition in the XPG4 standard, in which the sequence depends on the ASCII value of the characters (see following table).

Sort sequence in accordance with the XPG4 standard (ASCII)

             \0

               /

               D

               Y

              n 

\t

0

E

Z

o

\n

1

F

[

p

\v

2

G

\

q

\f

3

H

]

r

\r

4

I

^

s

'BLANK'

5

J

_

t

!

6

K

`

u

"

7

L

a

v

#

8

M

b

w

$

9

N

c

x

%

:

O

d

y

&

;

P

e

z

'

<

Q

f

{

(

=

R

g

|

)

>

S

h

}

*

?

T

i

~

+

@

U

j


,

A

V

k


-

B

W

l


.

C

X

m