File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,19 +50,15 @@ is called. The
5050parameter should be one of
5151.RS
5252.TP 9
53- .B MEM_SELF_MANAGED
54- Internal buffer owned by fgets
53+ .B MEM_SELF_MANAGED " - " Internal buffer owned by fgets
5554.TP
56- .B MEM_MALLOC
57- User-supplied malloc buffer; fgets frees it
55+ .B MEM_MALLOC " - " User-supplied malloc buffer; fgets frees it
5856.TP
59- .B MEM_MMAP
60- User-supplied mmap buffer; fgets munmaps it
57+ .B MEM_MMAP " - " User-supplied mmap buffer; fgets munmaps it
6158.TP
62- .B MEM_MMAP_FILE
63- Read-only mmap file data
59+ .B MEM_MMAP_FILE " - " Read-only mmap file data
6460.RE
65- .IP
61+ .PP
6662The default is
6763.B MEM_SELF_MANAGED
6864which means its lifecycle is automatically handled. When
@@ -93,4 +89,3 @@ returns 0 on success and 1 on failure.
9389
9490.SH SEE ALSO
9591.BR fgets (3)
96-
You can’t perform that action at this time.
0 commit comments