Package: manpages-dev Version: 2.28-1 Severity: wishlist Tags: upstream patch
Included is a patch to document the fopen mode 'm'; please consider applying it. Note that there's also a 'c' flag for open_not_cancel, but since I can't find much documentation and don't really understand it, I'm not writing a patch at this time ..
--- - 2006-05-02 13:06:21.294325000 -0400 +++ /tmp/fopen.3 2006-05-02 13:05:58.000000000 -0400 @@ -38,8 +38,9 @@ .\" Converted for Linux, Mon Nov 29 15:22:01 1993, [EMAIL PROTECTED] .\" Modified, aeb, 960421, 970806 .\" Modified, joey, aeb, 2002-01-03 +.\" Modified, Justin Pryzby <[EMAIL PROTECTED]>, 2006-05-02 .\" -.TH FOPEN 3 2002-01-03 "BSD MANPAGE" "Linux Programmer's Manual" +.TH FOPEN 3 2006-05-02 GNU "Linux Programmer's Manual" .SH NAME fopen, fdopen, freopen \- stream open functions .SH SYNOPSIS @@ -230,7 +231,7 @@ .BR fdopen () function conforms to IEEE Std1003.1-1988 (``POSIX.1''). .SH "GLIBC EXTENSIONS" -The GNU C libary allows the following extension for the string specified in +The GNU C libary allows the following extensions for the string specified in .IR mode : .TP .B x @@ -245,6 +246,11 @@ .I errno to .BR EEXIST . +.TP +.B m +Attempts to access the file using \fBmmap()\fP rather than +\fBread()\fP and \fBwrite()\fP. + .\" FIXME document /,ccs= charset/ .SH "SEE ALSO" .BR open (2),