...
Code Block |
---|
...
int fd = open(file_name, O_CREAT | O_EXCL | O_WR_ONLY, new_file_mode);
if (fd == -1) {
/* Handle Error */
}
...
|
...
...
Code Block |
---|
...
int fd = open(file_name, O_CREAT | O_EXCL | O_WR_ONLY, new_file_mode);
if (fd == -1) {
/* Handle Error */
}
...
|
...