Print this page
4849 strlcpy(9F) points to the wrong header

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man9f/string.9f
          +++ new/usr/src/man/man9f/string.9f
   1    1  '\" te
   2    2  .\" Copyright (c) 2009, Sun Microsystems, Inc.  All Rights Reserved.
   3    3  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4    4  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5    5  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6      -.TH STRING 9F "Feb 27, 2009"
        6 +.TH STRING 9F "Jun 4, 2014"
   7    7  .SH NAME
   8    8  string, strcasecmp, strncasecmp, strncat, strlcat, strchr, strrchr, strcmp,
   9    9  strncmp, strcpy, strncpy, strlcpy, strfree, strspn, strdup, ddi_strdup, strlen,
  10   10  strnlen \- string operations
  11   11  .SH SYNOPSIS
  12   12  .LP
  13   13  .nf
  14   14  #include <sys/ddi.h>
       15 +#include <sys/sunddi.h>
  15   16  
  16   17  \fBint\fR \fBstrcasecmp\fR(\fBconst char *\fR\fIs1\fR, \fBconst char *\fR\fIs2\fR);
  17   18  .fi
  18   19  
  19   20  .LP
  20   21  .nf
  21   22  \fBint\fR \fBstrncasecmp\fR(\fBconst char *\fR\fIs1\fR, \fBconst char *\fR\fIs2\fR, \fBsize_t\fR \fIn\fR);
  22   23  .fi
  23   24  
  24   25  .LP
↓ open down ↓ 253 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX