summaryrefslogtreecommitdiff
path: root/gnulib/doc/posix-functions/creat.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/doc/posix-functions/creat.texi')
m---------gnulib0
-rw-r--r--gnulib/doc/posix-functions/creat.texi23
2 files changed, 23 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1
diff --git a/gnulib/doc/posix-functions/creat.texi b/gnulib/doc/posix-functions/creat.texi
new file mode 100644
index 0000000..f144777
--- /dev/null
+++ b/gnulib/doc/posix-functions/creat.texi
@@ -0,0 +1,23 @@
+@node creat
+@section @code{creat}
+@findex creat
+
+POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/creat.html}
+
+Gnulib module: ---
+
+Portability problems fixed by Gnulib:
+@itemize
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@item
+On Windows, this function returns a file handle in @code{O_TEXT} mode. If you
+need a file handle in @code{O_BINARY} mode, you need to use the function
+@code{open} instead.
+@item
+On platforms where @code{off_t} is a 32-bit type, @code{creat} may not work
+correctly to create files larger than 2 GB. The fix is to use the
+@code{AC_SYS_LARGEFILE} macro.
+@end itemize