![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX Desktop for Dummies Questions & Answers Questions regarding GNOME, KDE, CDE, Open Office, etc go here. All UNIX and Linux Newbies Welcome !! |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
can anyone provide me with a simple example of mq_receive().
|
| Forum Sponsor | ||
|
|
|
|||
|
ssize_t mq_receive(mqd_t mqdes, char *buf, size_t len, unsigned *prio)
takes the oldest message with the highest priority from mqdes into buf. prio, if not NULL, is filled with the priority of the given message. Returns the length of the message received, or -1 on error. Quote:
Last edited by push; 05-19-2008 at 03:14 AM. Reason: no notes |
|||
| Google The UNIX and Linux Forums |