Copyright (c) 1989, 1990, 1993 The Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the fol...
NAMEcreat - create a new file
SYNOPSISIn fcntl.h Ft int Fn creat const char *path mode_t mode
DESCRIPTIONBf -symbolic This interface is made obsolete by: Ef open(2).
The Fn creat function is the same as:
open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);