1 .\" Generated from openpam_readline.c by gendoc.pl
2 .\" $OpenPAM: openpam_readline.c 938 2017-04-30 21:34:42Z des $
8 .Nd read a line from a file
12 .In security/pam_appl.h
13 .In security/openpam.h
15 .Fn openpam_readline "FILE *f" "int *lineno" "size_t *lenp"
18 This function is deprecated and may be removed in a future release without further warning.
21 function may be used to achieve similar results.
26 function reads a line from a file, and returns it
27 in a NUL-terminated buffer allocated with
32 function performs a certain amount of processing
36 Comments (introduced by a hash sign) are stripped.
38 Blank lines are ignored.
40 If a line ends in a backslash, the backslash is stripped and the
41 next line is appended.
48 the integer variable it points to is
49 incremented every time a newline character is read.
55 the length of the line (not including the
56 terminating NUL character) is stored in the variable it points to.
58 The caller is responsible for releasing the returned buffer by passing
69 .Xr openpam_readlinev 3 ,
70 .Xr openpam_readword 3 ,
75 function is an OpenPAM extension.
79 function and this manual page were
82 Project by ThinkSec AS and Network Associates Laboratories, the
83 Security Research Division of Network Associates, Inc.\& under
84 DARPA/SPAWAR contract N66001-01-C-8035
86 as part of the DARPA CHATS research program.
88 The OpenPAM library is maintained by
89 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .