fmemopen.3: Note details of POSIX.1-2008 specification of 'b' in 'mode'

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-04-28 15:56:27 +12:00
parent d8eca5853d
commit 360e0be298
1 changed files with 10 additions and 2 deletions

View File

@ -1,9 +1,9 @@
.\" Copyright 2005 walter harms (walter.harms@informatik.uni-oldenburg.de),
.\" and Copyright 2005 Michael Kerrisk <mtk.manpages@gmail.com>
.\" and Copyright 2005, 2012 Michael Kerrisk <mtk.manpages@gmail.com>
.\" Distributed under the GPL.
.\" 2008-12-04, Petr Baudis <pasky@suse.cz>: Document open_wmemstream()
.\"
.TH FMEMOPEN 3 2010-09-15 "GNU" "Linux Programmer's Manual"
.TH FMEMOPEN 3 2012-04-28 "GNU" "Linux Programmer's Manual"
.SH NAME
fmemopen, open_memstream, open_wmemstream \- open memory as stream
.SH SYNOPSIS
@ -192,6 +192,14 @@ is available since glibc 2.4.
POSIX.1-2008.
These functions are not specified in POSIX.1-2001,
and are not widely available on other systems.
POSIX.1-2008 specifies that \(aqb\(aq in
.IR mode
shall be ignored.
However, Technical Corrigendum 1
.\" http://austingroupbugs.net/view.php?id=396
adjusts the standard to allow implementation-specific treatment for this case,
thus permitting the glibc treatment of \(aqb\(aq.
.SH NOTES
There is no file descriptor associated with the file stream
returned by these functions