Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

POSIX message queues

Name: Anonymous 2008-05-20 9:22

I want to create am message queue using POSIX mq_open(), unfortunately no message queue is created and mq_open() only returns -1.

Any ideas how i could get more information why mq_open() failed or how i could debug it further?


#include <mqueue.h>
...
#define MAX_MSG   100
#define OVER      (-1)
#define PMODE     0666
#define QUEUENAME "/myipc"
#define QUEUESIZE 10
...
mqd_t id;
struct mq_attr attr;
attr.mq_maxmsg = QUEUESIZE;
attr.mq_msgsize = sizeof (int);
attr.mq_flags = 0;

id = mq_open (QUEUENAME, O_RDWR, PMODE, &attr);

Name: Anonymous 2008-05-21 8:44

It's like the film Hackers. When I first saw it, as an arrogant teenager, I mocked its unrealistic portrayal of hacking and computers. But viewing it later on, as a more mature adult, I  appreciated it as an artistic, conceptual construction that referenced hacker culture in the same way that all good art holds a mirror up to society. Also, the chick was hot.

Name: Anonymous 2008-05-21 9:33

>>41
Absolute twaddle. The movie hackers is pure fiction as hacking was never like that.

Name: Anonymous 2008-05-21 14:38

>>42 was never a real hacker and never will be, thus doesn't know what it's like.

Name: Anonymous 2008-05-21 15:14

>>42
... but it will be!  3D visualizations in tools FTW!

Name: Anonymous 2008-05-21 16:12

>>41
roflwafflebbq
I am constantly haxing my anus and thus I am a real haxer. I have haxed 1002 ports with 32 selfwritten selfextracting executables that overwrite explorer.exe and recompile the linuxkernel. GTFO, failure.

Name: Anonymous 2008-05-21 16:16

>>44
Yeah, yeah. Enlightenment will do that. You just have to wait 2D to be stable, then you might have 3D. With a complete redesign of everything.

Name: Anonymous 2008-05-21 18:44

>>42
I know. That's the point.

Name: Anonymous 2008-05-21 20:24

>>46
I'm holding out for DR18, due sometime in the next universe after the Big Crunch cycle.

Name: Anonymous 2009-08-17 0:29

Lain.

Name: ​​​​​​​​​​ 2010-10-22 2:11

Name: Sgt.Kabukiman窑蠔 2012-05-23 6:09

All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List