|
-
February 11th, 2008, 11:16 PM
#1
Problem understanding fcntl and retaled issues.
First of all, I'd like to thank the people and the moderators who have helped me by answering my questions. Hopefully When I get better, I will help others in return for your favors.
my question is regarding the fcntl expression in the <fcntl.h> library.
the describtion of this expression is:
//-----------------------------------------------------------------------------------------
The fcntl() function shall perform the operations described below on open files. The fildes argument is a file descriptor.
//-----------------------------------------------------------------------------------------
what is a file descriptor? It was also mentioned for the expression read/write, as follow:
//-----------------------------------------------------------------------------------------
The read() function shall attempt to read nbyte bytes from the file associated with the open file descriptor, fildes, into the buffer pointed to by buf. The behavior of multiple concurrent reads on the same pipe, FIFO, or terminal device is unspecified.
//-----------------------------------------------------------------------------------------
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|