...
| Code Block | ||
|---|---|---|
| ||
int fd; if ((fd = open("somefile_file"name, O_RDWR | O_NOFOLLOW)) == -1) { /* handle error */ } write(fd, userbuf, userlen); |
...
...
| Code Block | ||
|---|---|---|
| ||
int fd; if ((fd = open("somefile_file"name, O_RDWR | O_NOFOLLOW)) == -1) { /* handle error */ } write(fd, userbuf, userlen); |
...