Results 1 to 5 of 5
hii
can anyone tell what does mq_open returns?? whenever i am using mq_open it always returns 3. what is the problem??
Thanxs in advance
Mohit...
- 05-19-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 3
what does mq_open() returns
hii
can anyone tell what does mq_open returns?? whenever i am using mq_open it always returns 3. what is the problem??
Thanxs in advance
Mohit
- 05-19-2008 #2Linux Newbie
- Join Date
- Mar 2008
- Location
- Hyderabad
- Posts
- 109
- 05-20-2008 #3Just Joined!
- Join Date
- May 2008
- Posts
- 3
Hi, thanxs for ur reply but man page was the first thing that i searched and couldnt get a satisfactory reply... pls try something else and reply..
- 05-20-2008 #4Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
- 05-20-2008 #5
Quoth the highly esteemed i92guboj:
That's essentially correct, but it's even more like open(), which returns a small integer, not a conventional pointer. The mqd_t is a small integer, as mohit3884 discovered, which looks (but isn't) quite unuseful, which was probably the source of his confusion.what that function return: a pointer to one of those (data type: mqd_t). Just like fopen return a pointer to a FILE data type.--
Bill
Old age and treachery will overcome youth and skill.


Reply With Quote
