[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.8 and 1.9

version 1.8, 1998/02/05 18:46:27 version 1.9, 1998/04/28 20:11:34
Line 84  from the database specified by the
Line 84  from the database specified by the
 terminated file array  terminated file array
 .Fa db_array  .Fa db_array
 and returns a pointer to a  and returns a pointer to a
 .Xr malloc Ns \&'d  .Xr malloc 3 Ns \&'d
 copy of it in  copy of it in
 .Fa buf .  .Fa buf .
 .Nm Cgetent  .Nm Cgetent
 will first look for files ending in  will first look for files ending in
 .Nm .db  .Nm .db
 (see  (see
 .Xr cap_mkdb 1)  .Xr cap_mkdb 1 )
 before accessing the ASCII file.  before accessing the ASCII file.
 .Fa Buf  .Fa Buf
 must be retained through all subsequent calls to  must be retained through all subsequent calls to
Line 102  must be retained through all subsequent 
Line 102  must be retained through all subsequent 
 and  and
 .Fn cgetustr ,  .Fn cgetustr ,
 but may then be  but may then be
 .Xr free Ns \&'d.  .Xr free 3 Ns \&'d.
 On success 0 is returned, 1 if the returned  On success 0 is returned, 1 if the returned
 record contains an unresolved  record contains an unresolved
 .Nm tc  .Nm tc
Line 193  from the capability record pointed to by
Line 193  from the capability record pointed to by
 A pointer to a decoded,  A pointer to a decoded,
 .Dv NUL  .Dv NUL
 terminated,  terminated,
 .Xr malloc Ns \&'d  .Xr malloc 3 Ns \&'d
 copy of the string is returned in the  copy of the string is returned in the
 .Ft char *  .Ft char *
 pointed to by  pointed to by
Line 229  or
Line 229  or
 call.  If there is no such previous call, the first record in the database is  call.  If there is no such previous call, the first record in the database is
 returned.  returned.
 Each record is returned in a  Each record is returned in a
 .Xr malloc Ns \&'d  .Xr malloc 3 Ns \&'d
 copy pointed to by  copy pointed to by
 .Fa buf .  .Fa buf .
 .Ic Tc  .Ic Tc

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

CVSweb <webmaster@jp.NetBSD.org>