creat
=====

POSIX specification:
 https://pubs.opengroup.org/onlinepubs/9699919799/functions/creat.html

Gnulib module: creat

Portability problems fixed by Gnulib:

  * This function does not support modes with execution bits (such as 0700) on some platforms: MSVC 14.

  * On platforms where off_t is a 32-bit type, creat may not work correctly with files 2 GiB and larger.  See Large File Support.

  * 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.

Portability problems not fixed by Gnulib:

  * On Windows, this function returns a file handle in O_TEXT mode.  If you need a file handle in O_BINARY mode, you need to use the function open instead.