Searched refs:O_TRUNC (Results 1 – 10 of 10) sorted by relevance
33 return __open (file, O_WRONLY | O_CREAT | O_TRUNC, mode); in __creat()
31 return __open64 (file, O_WRONLY | O_CREAT | O_TRUNC, mode); in __creat64()
51 fd = __open_nocancel (HOSTIDFILE, O_CREAT|O_WRONLY|O_TRUNC, 0644); in sethostid()
30 fd = __open (path, O_WRONLY | (length == 0 ? O_TRUNC : 0)); in __truncate()
121 #define O_TRUNC 0x00010000 /* Truncate file to zero length. */ macro146 # define FTRUNC O_TRUNC
24 #define O_TRUNC 00001000 /* not fcntl. */ macro
24 #define O_TRUNC 02000 /* not fcntl */ macro
28 #define O_TRUNC 0x0400 /* not fcntl */ macro
29 #define O_TRUNC 0x0200 /* not fcntl */ macro
55 #ifndef O_TRUNC56 # define O_TRUNC 01000 /* Not fcntl. */ macro
Completed in 9 milliseconds