Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <fcntl.h>
- #include <stdio.h>
- #include <unistd.h>
- int main(int argc, char ** argv, char **envv)
- {
- int f = open("2.txt", O_WRONLY);
- write(f, "1234abcd", 8); close(f);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement