Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Ensure that three file descriptors are open.
- while((fd = open("console", O_RDWR)) >= 0){
- if(fd >= 3){
- close(fd);
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement