1 .\" Generated from openpam_readline.c by gendoc.pl
2 .\" $Id: openpam_readline.c 703 2013-08-16 11:57:54Z des $
8 .Nd read a line from a file
14 .In security/pam_appl.h
15 .In security/openpam.h
17 .Fn openpam_readline "FILE *f" "int *lineno" "size_t *lenp"
20 This function is deprecated and may be removed in a future release without further warning.
23 function may be used to achieve similar results.
28 function reads a line from a file, and returns it
29 in a NUL-terminated buffer allocated with
34 function performs a certain amount of processing
38 Comments (introduced by a hash sign) are stripped.
40 Blank lines are ignored.
42 If a line ends in a backslash, the backslash is stripped and the
43 next line is appended.
50 the integer variable it points to is
51 incremented every time a newline character is read.
57 the length of the line (not including the
58 terminating NUL character) is stored in the variable it points to.
60 The caller is responsible for releasing the returned buffer by passing
71 .Xr openpam_readlinev 3 ,
72 .Xr openpam_readword 3 ,
77 function is an OpenPAM extension.
81 function and this manual page were
84 Project by ThinkSec AS and Network Associates Laboratories, the
85 Security Research Division of Network Associates, Inc.\& under
86 DARPA/SPAWAR contract N66001-01-C-8035
88 as part of the DARPA CHATS research program.
90 The OpenPAM library is maintained by
91 .An Dag-Erling Sm\(/orgrav Aq des@des.no .