After removing the (socklen_t*) typecast...
# pcc -o reveal -D_POSIX_SOURCE -D_BSD_EXTENSION reveal.c -lbsd
# ./reveal
ERRNO: 12
socket accept: Invalid argument
The precise error I get as well. Thank you for confirming. I'd
forgotten that one of the reasons for doing this was to add
Hey guys,
I've got some data I want to put in a graph. I got graph |plot going
easy enough, which gets me a nice pic on the screen, but I can't work
out how to generate an image file instead. plot(1) mentions troff
which convinces me that it is possible, I just can't figure out how.
I'm using
the real solution involves reference counting. but in your case,
not forking would make more sense. in fact, if you wanted
to start reveal from listen(1), you could dispense with the
for(;;) and the fork.
Of course, but the point is to implement a Posix utility under APE,
specially as the
On Thu, Nov 27, 2008 at 1:35 PM, [EMAIL PROTECTED] wrote:
Now, (a) I'm hoping someone can compile reveal.c (pcc -o reveal
-D_POSIX_SOURCES -D_BSD_EXTENSION reveal.c -lbsd) in a pristine APE
environment and prove to me that it works unmodified or, (b) somebody
can give me some pointers on
I've got some data I want to put in a graph. I got graph |plot going
easy enough, which gets me a nice pic on the screen, but I can't work
out how to generate an image file instead. plot(1) mentions troff
which convinces me that it is possible, I just can't figure out how.
I'm using p9p,
You could use grap(1) - the troff preprocessor.
-Steve