[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.10 and 1.11.12.1

version 1.10, 1998/04/29 19:12:09 version 1.11.12.1, 2001/10/08 20:18:54
Line 56 
Line 56 
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Fd #include <stdlib.h>  .Fd #include <stdlib.h>
 .Ft int  .Ft int
 .Fn cgetent "char **buf" "char **db_array" "char *name"  .Fn cgetent "char **buf" "char **db_array" "const char *name"
 .Ft int  .Ft int
 .Fn cgetset "char *ent"  .Fn cgetset "const char *ent"
 .Ft int  .Ft int
 .Fn cgetmatch "char *buf" "char *name"  .Fn cgetmatch "const char *buf" "const char *name"
 .Ft char *  .Ft char *
 .Fn cgetcap "char *buf" "char *cap" "char type"  .Fn cgetcap "char *buf" "const char *cap" "int type"
 .Ft int  .Ft int
 .Fn cgetnum "char *buf" "char *cap" "long *num"  .Fn cgetnum "char *buf" "const char *cap" "long *num"
 .Ft int  .Ft int
 .Fn cgetstr "char *buf" "char *cap" "char **str"  .Fn cgetstr "char *buf" "const char *cap" "char **str"
 .Ft int  .Ft int
 .Fn cgetustr "char *buf" "char *cap" "char **str"  .Fn cgetustr "char *buf" "const char *cap" "char **str"
 .Ft int  .Ft int
 .Fn cgetfirst "char **buf" "char **db_array"  .Fn cgetfirst "char **buf" "char **db_array"
 .Ft int  .Ft int
Line 105  must be retained through all subsequent 
Line 105  must be retained through all subsequent 
 and  and
 .Fn cgetustr ,  .Fn cgetustr ,
 but may then be  but may then be
 .Xr free 3 Ns \&'d.  .Xr free 3 Ns \&'d .
 .Pp  .Pp
 On success 0 is returned, 1 if the returned record contains an unresolved  On success 0 is returned, 1 if the returned record contains an unresolved
 .Qq tc  .Qq tc
Line 423  overrides the definition of
Line 423  overrides the definition of
 interpolated from the capability record  interpolated from the capability record
 .Em old  .Em old
 in  in
 .Fa file2,  .Fa file2 ,
 .Qq who-cares@  .Qq who-cares@
 prevents the definition of any who-cares definitions in  prevents the definition of any who-cares definitions in
 .Em old  .Em old

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

CVSweb <webmaster@jp.NetBSD.org>