creat
¶POSIX specification:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/creat.html
Portability problems fixed by Gnulib:
off_t
is a 32-bit type, creat
may not work
correctly with files 2 GiB and larger. See Large File Support.
Portability problems not fixed by Gnulib:
O_TEXT
mode. If you
need a file handle in O_BINARY
mode, you need to use the function
open
instead.