Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1906 | serge | 1 | /* |
2 | FUNCTION |
||
3 | < |
||
4 | |||
5 | INDEX |
||
6 | strcoll |
||
7 | |||
8 | ANSI_SYNOPSIS |
||
9 | #include |
||
10 | int strcoll(const char *<[stra]>, const char * <[strb]>); |
||
11 | |||
12 | TRAD_SYNOPSIS |
||
13 | #include |
||
14 | int strcoll(<[stra]>, <[strb]>) |
||
15 | char *<[stra]>; |
||
16 | char *<[strb]>; |
||
17 | |||
18 | DESCRIPTION |
||
19 | < |
||
20 | the string pointed to by <[strb]>, using an interpretation |
||
21 | appropriate to the current < |
||
22 | |||
23 | RETURNS |
||
24 | If the first string is greater than the second string, |
||
25 | < |
||
26 | strings are equivalent, < |
||
27 | string is less than the second string, < |
||
28 | number less than zero. |
||
29 | |||
30 | PORTABILITY |
||
31 | < |
||
32 | |||
33 | < |
||
34 | |||
35 | QUICKREF |
||
36 | strcoll ansi pure |
||
37 | */ |
||
38 | |||
39 | #include |
||
40 | |||
41 | int |
||
42 | _DEFUN (strcoll, (a, b), |
||
43 | _CONST char *a _AND |
||
44 | _CONST char *b) |
||
45 | |||
46 | { |
||
47 | return strcmp (a, b); |
||
48 | } |