version 1.11.12.3, 2002/03/22 20:42:07 |
version 1.12, 2001/09/16 02:57:03 |
|
|
.Sh LIBRARY |
.Sh LIBRARY |
.Lb libc |
.Lb libc |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Fd #include \*[Lt]stdlib.h\*[Gt] |
.Fd #include <stdlib.h> |
.Ft int |
.Ft int |
.Fn cgetent "char **buf" "char **db_array" "const char *name" |
.Fn cgetent "char **buf" "char **db_array" "const char *name" |
.Ft int |
.Ft int |
|
|
codes, new lines, and colons may be conveniently represented by the use |
codes, new lines, and colons may be conveniently represented by the use |
of escape sequences: |
of escape sequences: |
.Bl -column "\e\|X,X\e\|X" "(ASCII octal nnn)" |
.Bl -column "\e\|X,X\e\|X" "(ASCII octal nnn)" |
^X ('\fIX\fP' \*[Am] 037) control-\fIX\fP |
^X ('\fIX\fP' & 037) control-\fIX\fP |
\e\|b, \e\|B (ASCII 010) backspace |
\e\|b, \e\|B (ASCII 010) backspace |
\e\|t, \e\|T (ASCII 011) tab |
\e\|t, \e\|T (ASCII 011) tab |
\e\|n, \e\|N (ASCII 012) line feed (newline) |
\e\|n, \e\|N (ASCII 012) line feed (newline) |