revise node structure for new fdl.texi
[gnulib.git] / doc / functions / open.texi
1 @node open
2 @section @code{open}
3 @findex open
4
5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/open.html}
6
7 Gnulib module: ---
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @end itemize
12
13 Portability problems not fixed by Gnulib:
14 @itemize
15 @item
16 On Windows, this function returns a file handle in @code{O_TEXT} mode by
17 default; this means that it translates '\n' to CR/LF by default.  Use the
18 @code{O_BINARY} flag if you need reliable binary I/O.
19 @item
20 On platforms where @code{off_t} is a 32-bit type, @code{open} may not work
21 correctly with files larger than 2 GB.  The fix is to use the
22 @code{AC_SYS_LARGEFILE} macro.
23 @end itemize