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

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3c/string.3c
          +++ new/usr/src/man/man3c/string.3c
↓ open down ↓ 166 lines elided ↑ open up ↑
 167  167  \fBstrcpy()\fR functions do not check for overflow of the array.
 168  168  .SS "\fBstrcasecmp()\fR, \fBstrncasecmp()\fR"
 169  169  .sp
 170  170  .LP
 171  171  The \fBstrcasecmp()\fR and \fBstrncasecmp()\fR functions are case-insensitive
 172  172  versions of  \fBstrcmp()\fR and \fBstrncmp()\fR respectively, described below.
 173  173  .LP
 174  174  The \fBstrcasecmp()\fR and \fBstrncasecmp()\fR functions compare two strings
 175  175  byte-by-byte, after
 176  176  converting each upper-case character to lower-case (as determined by the
 177      -\fBLC_CTYPE\fR category of the current locale).  Note that neither the contents 
      177 +\fBLC_CTYPE\fR category of the current locale).  Note that neither the contents
 178  178  pointed to by \fIs1\fR nor \fIs2\fR are modified.
 179  179  .LP
 180  180  The functions return an integer
 181  181  greater than, equal to, or less than 0, if the string pointed to by \fIs1\fR
 182  182  is greater than, equal to, or less than the string pointed to by \fIs2\fR
 183  183  respectively. The sign of a non-zero return value is determined  by the sign of
 184  184  the difference between the values of the first pair of bytes that differ in the
 185  185  .LP
 186  186  The \fBstrncasecmp()\fR function examines at most \fIn\fR bytes from each
 187  187  string.
↓ open down ↓ 345 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX