[BACK]Return to getcap.3 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/Attic/getcap.3 between version 1.11.12.1 and 1.18

version 1.11.12.1, 2001/10/08 20:18:54 version 1.18, 2003/08/07 16:42:49
Line 14 
Line 14 
 .\" 2. Redistributions in binary form must reproduce the above copyright  .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"    notice, this list of conditions and the following disclaimer in the  .\"    notice, this list of conditions and the following disclaimer in the
 .\"    documentation and/or other materials provided with the distribution.  .\"    documentation and/or other materials provided with the distribution.
 .\" 3. All advertising materials mentioning features or use of this software  .\" 3. Neither the name of the University nor the names of its contributors
 .\"    must display the following acknowledgement:  
 .\"     This product includes software developed by the University of  
 .\"     California, Berkeley and its contributors.  
 .\" 4. Neither the name of the University nor the names of its contributors  
 .\"    may be used to endorse or promote products derived from this software  .\"    may be used to endorse or promote products derived from this software
 .\"    without specific prior written permission.  .\"    without specific prior written permission.
 .\"  .\"
Line 54 
Line 50 
 .Sh LIBRARY  .Sh LIBRARY
 .Lb libc  .Lb libc
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Fd #include <stdlib.h>  .In stdlib.h
 .Ft int  .Ft int
 .Fn cgetent "char **buf" "char **db_array" "const char *name"  .Fn cgetent "char **buf" "char **db_array" "const char *name"
 .Ft int  .Ft int
Line 289  database begins:
Line 285  database begins:
 giving four names that can be used to access the record.  giving four names that can be used to access the record.
 .Pp  .Pp
 The remaining non-empty capabilities describe a set of (name, value)  The remaining non-empty capabilities describe a set of (name, value)
 bindings, consisting of a names optionally followed by a typed values:  bindings, consisting of a name optionally followed by a typed value:
 .Bl -column "nameTvalue"  .Bl -column "nameTvalue"
 .It name Ta "typeless [boolean] capability"  .It name Ta "typeless [boolean] capability"
 .Em name No "is present [true]"  .Em name No "is present [true]"
Line 452  Two types are predefined by
Line 448  Two types are predefined by
 and  and
 .Fn cgetstr :  .Fn cgetstr :
 .Bl -column "nameXnumber"  .Bl -column "nameXnumber"
 .Sm off  .It Em name Ns \&# Ns Em number Ta numeric
 .It Em name No \&# Em number Ta numeric  
 capability  capability
 .Em name  .Em name
 has value  has value
 .Em number  .Em number
 .It Em name No = Em string Ta "string capability"  .It Em name Ns = Ns Em string Ta "string capability"
 .Em name  .Em name
 has value  has value
 .Em string  .Em string
 .It Em name No \&#@ Ta "the numeric capability"  .It Em name Ns \&#@ Ns Ta "the numeric capability"
 .Em name  .Em name
 does not exist  does not exist
 .It Em name No \&=@ Ta "the string capability"  .It Em name Ns \&=@ Ns Ta "the string capability"
 .Em name  .Em name
 does not exist  does not exist
 .El  .El
Line 488  Non-printable
Line 483  Non-printable
 codes, new lines, and colons may be conveniently represented by the use  codes, new lines, and colons may be conveniently represented by the use
 of escape sequences:  of escape sequences:
 .Bl -column "\e\|X,X\e\|X" "(ASCII octal nnn)"  .Bl -column "\e\|X,X\e\|X" "(ASCII octal nnn)"
 ^X      ('\fIX\fP' & 037)       control-\fIX\fP  ^X      ('\fIX\fP' \*[Am] 037)  control-\fIX\fP
 \e\|b, \e\|B    (ASCII 010)     backspace  \e\|b, \e\|B    (ASCII 010)     backspace
 \e\|t, \e\|T    (ASCII 011)     tab  \e\|t, \e\|T    (ASCII 011)     tab
 \e\|n, \e\|N    (ASCII 012)     line feed (newline)  \e\|n, \e\|N    (ASCII 012)     line feed (newline)
Line 501  of escape sequences:
Line 496  of escape sequences:
 \e\|\fInnn\fP   (ASCII octal \fInnn\fP)  \e\|\fInnn\fP   (ASCII octal \fInnn\fP)
 .El  .El
 .Pp  .Pp
 A `\|\e' may be followed by up to three octal digits directly specifies  A `\|\e' followed by up to three octal digits directly specifies
 the numeric code for a character.  the numeric code for a character.
 The use of  The use of
 .Tn ASCII  .Tn ASCII

Legend:
Removed from v.1.11.12.1  
changed lines
  Added in v.1.18

CVSweb <webmaster@jp.NetBSD.org>