Query: getln
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
getln(3) Library Functions Manual getln(3)NAMEgetln - read one line of dataSYNTAX#include <getln.h> int getln(&ss,&sa,&match,sep); substdio ss; stralloc sa; int match; int sep;DESCRIPTIONgetln reads a line of characters, terminated by a sep character, from ss. It returns the line in sa and sets match to 1. If getln sees end-of-input before it sees sep, it returns the partial line in sa and sets match to 0. getln normally returns 0. If it runs out of memory, or encounters an error from ss, it returns -1, setting errno appropriately.SEE ALSOstralloc(3), substdio(3), getln2(3) getln(3)
Related Man Pages |
---|
strtok(3) - bsd |
strtok(3) - mojave |
tcamgr(1) - debian |
buffer_get_token_sa(3) - debian |
strsplit(3pub) - debian |
Similar Topics in the Unix Linux Community |
---|
awk script for replacing 2 strings |
Batch download |
Help with djbdns code |