read a line from a file
This function is deprecated and may be removed in a future
release without further warning. The
openpam_readlinev() function may be used to
achieve similar results.
() function reads a line
from a file, and returns it in a NUL-terminated buffer allocated with
() function performs a
certain amount of processing on the data it reads:
- Comments (introduced by a hash sign) are stripped.
- Blank lines are ignored.
- If a line ends in a backslash, the backslash is stripped and the next line
, the integer variable it points to is
incremented every time a newline character is read.
, the length of the line (not including
the terminating NUL character) is stored in the variable it points to.
The caller is responsible for releasing the returned buffer by passing it to
() function returns
() function is an OpenPAM
() function and this
manual page were developed for the FreeBSD
ThinkSec AS and Network Associates Laboratories, the Security Research
Division of Network Associates, Inc. under DARPA/SPAWAR contract
N66001-01-C-8035 (“CBOSS”), as part of the DARPA CHATS research
The OpenPAM library is maintained by Dag-Erling