openpam_readline - read a line from a file
Lb libpam
The function performs a certain amount of processing on the data it reads. Comments (introduced by a hash sign) are stripped, as is leading and trailing whitespace. Any amount of linear whitespace is collapsed to a single space. Blank lines are ignored. If a line ends in a backslash, the backslash is stripped and the next line is appended.
If Fa lineno is not NULL the integer variable it points to is incremented every time a newline character is read.
If Fa lenp is not NULL 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 free(3).
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |