10-08-2006
10 More Discussions You Might Find Interesting
1. Programming
experienced users may give their suggestions here ,
for the future OS, which is better, Unix or Linux? (1 Reply)
Discussion started by: warmth
1 Replies
2. UNIX for Dummies Questions & Answers
Aahhhh!! I am so much frustrated trying to recover my superuser account. I need help!!! Please can anyone tell me how to recover a the root account? Thank you in advance. (1 Reply)
Discussion started by: pnoi_blitz
1 Replies
3. Answers to Frequently Asked Questions
Unix is the name of an operating system. And unix is a registered trademark. This is what makes things murky.
One of my favorite books is The Design and Implementation of the 4.3BSD UNIX Operating System. That book is out of print, but a newer book is available: The Design and Implementation... (0 Replies)
Discussion started by: Perderabo
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
This is my first post over here and i got a basic question what all these Unix and Linux about ? how they work? What are the Resources for a Basic person like me to get Unix or Linux into hand? And what are the differences between them ? many questions to shoot but time less in hand will... (2 Replies)
Discussion started by: saipothuri
2 Replies
5. UNIX for Dummies Questions & Answers
hi all,
i have a linux operating system...can i practice unix commands on linux system....there is any changes in the commands.....can any one post some meterial..
thanks (1 Reply)
Discussion started by: madhu_msinus@ya
1 Replies
6. UNIX for Dummies Questions & Answers
why would one choose unix over linux? (2 Replies)
Discussion started by: lizzy
2 Replies
7. Shell Programming and Scripting
Any recent graduates or professionals have any old LINUX books they would like to sell or give away to an enthusiastic undergraduate who is looking for work in all the wrong places? :D
Thank you for your reply!! (2 Replies)
Discussion started by: aeo0868
2 Replies
8. Fedora
I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies
9. Post Here to Contact Site Administrators and Moderators
We work hard to make The UNIX and Linux Forums one of the best UNIX and Linux knowledge sources on the net. The site is certainly one of the top UNIX and Linux Q&A sites on the web. In order to provide certain members the best quality account services, you can now get some great extra features by... (2 Replies)
Discussion started by: Neo
2 Replies
10. What is on Your Mind?
Forum Moderation @UNIX.com | The UNIX and Linux Forums
https://youtu.be/WGwgibE4Rq0
Also note: In the video I mentioned removing legacy menu items in the ModCP which are unused. I have already "CSS'ed out" the unused menu items:
... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT DEBIAN
io_nonblock
io_nonblock(3) Library Functions Manual io_nonblock(3)
NAME
io_nonblock - switch to non-blocking I/O
SYNTAX
#include <io.h>
void io_nonblock(int64 fd);
DESCRIPTION
io_nonblock puts UNIX descriptor fd into ``non-blocking mode.'' Calling io_nonblock(fd) before io_fd(fd) makes io_tryread and io_trywrite
faster and more efficient.
Actually, current UNIX kernels do not support non-blocking descriptors; they support non-blocking open files. Furthermore, many programs
will break if they encounter non-blocking mode. This means that you must not use io_nonblock for a descriptor inherited from another pro-
gram.
io_nonblock has no return value; it always succeeds. If d is not the number of a UNIX descriptor, io_nonblock has no effect.
If io_fd is given a descriptor in blocking mode, io_tryread and io_trywrite go through the following contortions to avoid blocking:
1 Stop if poll says that the descriptor is not ready. Otherwise there's a good chance, but not a guarantee: even if poll says the descrip-
tor is ready, the descriptor might not be ready a moment later. (Furthermore, poll can fail on some systems.)
2 Catch SIGALRM. SIGALRM must not be blocked, and must not be used elsewhere in the program.
3 Set an interval timer so that any blocking call will be interrupted by SIGALRM within 10 milliseconds. (Current UNIX kernels do not
allow any shorter interval.) Of course, this may still mean a 10-millisecond delay.
If io_fd is given a descriptor in non-blocking mode (or a descriptor for a regular disk file), io_tryread and io_trywrite avoid these con-
tortions.
SEE ALSO
io_wait(3), io_canwrite(3)
io_nonblock(3)