Added section describing relationship between library

interfaces and system calls.
Added SEE ALSO referring to new mq_getsetattr.2.
This commit is contained in:
Michael Kerrisk 2006-05-12 19:35:05 +00:00
parent 694ae673a7
commit c4ac1bc4e4
1 changed files with 22 additions and 0 deletions

View File

@ -84,6 +84,28 @@ On Linux,
returns 32768, but POSIX.1-2001 only requires returns 32768, but POSIX.1-2001 only requires
an implementation to support priorities in the range 0 to 31; an implementation to support priorities in the range 0 to 31;
some implementations only provide this range. some implementations only provide this range.
.SS Library interfaces and system calls
In most cases the
.B mq_*()
library interfaces listed above are implemented
on top of underlying system calls of the same name.
Deviations from this scheme are indicated in the following table:
.in +0.25i
.TS
lB lB
l l.
Library interface System call
mq_close(3) close(2)
mq_getattr(3) mq_getsetattr(2)
mq_open(3) mq_open(2)
mq_receive(3) mq_timedreceive(2)
mq_send(3) mq_timedsend(2)
mq_setattr(3) mq_getsetattr(2)
mq_timedreceive(3) mq_timedreceive(2)
mq_timedsend(3) mq_timedsend(2)
mq_unlink(3) mq_unlink(2)
.TE
.in -0.25i
.SH LINUX SPECIFIC DETAILS .SH LINUX SPECIFIC DETAILS
.SS Versions .SS Versions
POSIX message queues have been supported on Linux since kernel 2.6.6. POSIX message queues have been supported on Linux since kernel 2.6.6.