creat (2)
Leading comments
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...
NAME
creat - create a new fileLIBRARY
Lb libcSYNOPSIS
In fcntl.h Ft int Fn creat const char *path mode_t modeDESCRIPTION
Bf -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);