Print this page
5025 import and use mandoc
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: TBD


  52 category \fBLC_COLLATE\fR (see \fBsetlocale\fR(3C)).
  53 .LP
  54 On error, \fBstrcoll()\fR may set \fBerrno\fR, but no return value is reserved
  55 to indicate an error.
  56 .SH ERRORS
  57 .sp
  58 .LP
  59 The \fBstrcoll()\fR and \fBstrcoll_l()\fR functions may fail if:
  60 .sp
  61 .ne 2
  62 .na
  63 \fB\fBEINVAL\fR\fR
  64 .ad
  65 .RS 10n
  66 The \fIs1\fR or \fIs2\fR arguments contain characters outside the domain of the
  67 collating sequence.
  68 .RE
  69 .SH FILES
  70 .IP \fB/usr/lib/locale/\fR\fIlocale\fR\fB/LC_COLLATE/*\fR
  71 collation database for \fIlocale\fR
  72 .RE
  73 
  74 .SH ATTRIBUTES
  75 .LP
  76 See \fBattributes\fR(5) for descriptions of the following attributes:
  77 .TS
  78 box;
  79 c | c
  80 l | l .
  81 ATTRIBUTE TYPE  ATTRIBUTE VALUE
  82 _
  83 CSI     Enabled
  84 _
  85 Interface Stability     Standard
  86 _
  87 MT-Level        MT-Safe
  88 .TE
  89 
  90 .SH SEE ALSO
  91 .sp
  92 .LP
  93 \fBlocaledef\fR(1), \fBnewlocale\fR(3C), \fBsetlocale\fR(3C), \fBstring\fR(3C),


  52 category \fBLC_COLLATE\fR (see \fBsetlocale\fR(3C)).
  53 .LP
  54 On error, \fBstrcoll()\fR may set \fBerrno\fR, but no return value is reserved
  55 to indicate an error.
  56 .SH ERRORS
  57 .sp
  58 .LP
  59 The \fBstrcoll()\fR and \fBstrcoll_l()\fR functions may fail if:
  60 .sp
  61 .ne 2
  62 .na
  63 \fB\fBEINVAL\fR\fR
  64 .ad
  65 .RS 10n
  66 The \fIs1\fR or \fIs2\fR arguments contain characters outside the domain of the
  67 collating sequence.
  68 .RE
  69 .SH FILES
  70 .IP \fB/usr/lib/locale/\fR\fIlocale\fR\fB/LC_COLLATE/*\fR
  71 collation database for \fIlocale\fR


  72 .SH ATTRIBUTES
  73 .LP
  74 See \fBattributes\fR(5) for descriptions of the following attributes:
  75 .TS
  76 box;
  77 c | c
  78 l | l .
  79 ATTRIBUTE TYPE  ATTRIBUTE VALUE
  80 _
  81 CSI     Enabled
  82 _
  83 Interface Stability     Standard
  84 _
  85 MT-Level        MT-Safe
  86 .TE
  87 
  88 .SH SEE ALSO
  89 .sp
  90 .LP
  91 \fBlocaledef\fR(1), \fBnewlocale\fR(3C), \fBsetlocale\fR(3C), \fBstring\fR(3C),