Makes sense now. Thank you for your responses. -Bill
Type: Posts; User: paraglidersd
Makes sense now. Thank you for your responses. -Bill
so if I have 2 executable programs:
executable prog Unix owner permissions
----------------- ----------- ---------
prog1 user1 755
prog2 ...
Hi All,
I hope this is an easy one. I am using vfork from within an application to spawn another process (and then execute another application). I want that spawned application to retain its...
I owe all of you an apology (though I thank all of you because I learned some things from your posts). As such, I have my foot placed firmly in mouth (or tail, whichever you prefer).
Turns out...
Actually, I did print out all of the bytes in the union. Every byte past the 8th byte had zeros in it.
I must be doing something really wrong. I wrote a test client/server program and tried many variations. I tried htonX on the server/sparc side and ntohX on the linux side. I tried removing the...
yes, when I print with %e or %d I get actual values (like the one you showed).
If it is a problem with the big/little endian issue, why would my integers that come over the socket look ok? In...
Hi All,
I have a pretty bizarre problem going on regarding Linux. Our software is running on Unix and now we are porting to Linux. The problem involves a 'double' type within a union. This...
question: is there any other way, other than signal handlers, to determine if a child process is running?
I misspoke when I stated that the kill command returned non-zero. it always returned...
Awesome. Thanks for your help on this matter. Much appreciated.
Bill
Thanks, guys, for the responses.
We have tried the signal handling method also, but sometimes the signal doesnt register or return to the parent process. Not sure why. So, this other method I...
I am attempting to use "kill(pid, 0) == 0" to determine if a child process is running. It doesnt seem to be working as advertised. I have a parent C program that spawns a child C program on a unix...