:man| Alphabetical   Categories   Search   About us 
 
CREAT (2) | System calls | Unix Manual Pages | :man

NAME

creat - create a new file

CONTENTS

Library
Synopsis
Description
See Also
History

LIBRARY


.Lb libc

SYNOPSIS


.In fcntl.h int creat "const char *path" "mode_t mode"

DESCRIPTION


.Bf -symbolic This interface is made obsolete by:
.Ef open(2).

The creat function is the same as:
open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);

SEE ALSO

open(2)

HISTORY

 
Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun