Hash :
c36a0f21
Author :
Date :
2024-10-27T17:01:29
doc: Add a module index. * doc/Makefile (undocumented-modules.texi): New rule. (%.info, %.html, %.dvi, %.pdf): Depend on undocumented-modules.texi. (mostlyclean): Remove also *.m and *.tmp. (force): New rule. * doc/*.texi: Add module index entries. * doc/*/*.texi: Likewise.
@node creat
@subsection @code{creat}
@findex creat
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/creat.html}
Gnulib module: creat
@mindex creat
Portability problems fixed by Gnulib:
@itemize
@item
This function does not support modes with execution bits (such as 0700)
on some platforms:
MSVC 14.
@item
On platforms where @code{off_t} is a 32-bit type, @code{creat} may not work
correctly with files 2 GiB and larger. @xref{Large File Support}.
@item
This function does not fail when the file name argument ends in a slash
and (without the slash) names a nonexistent file, on some platforms:
FreeBSD 7.2, AIX 7.1, HP-UX 11.31, Solaris 9.
@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.
@end itemize