NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ERROR MESSAGES | ATTRIBUTES
#include <arpa/ftpd/systemFilesys.h>off_t systemLinesToOff(FtpConn *conn, char *name, int lines);
Read the file referenced by name, until just past the number of lines specified by lines and return the current offset.
The offset of the specified line, or -1 in case of failure.
For a resource allocation problem
For a file name problem
For a file seek problem (including insufficient lines in the file)
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ERROR MESSAGES | ATTRIBUTES