|
First
|
Prev |
Next
|
Last
Pages: 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
waitpid not reaping child Hi, I am trying to use waitpid with WNOHANG in a loop, but it is always returning 0 and the child process goes into <defunct> state. I am using solaris 10. Here is exactly what I am trying: if ((pid = fork()) < 0) { perror("fork"); return -errno; } ... 8 Nov 2006 11:57
delete a directory recursively Hi How to recursively delete a directory (assuming direcory is having subdirectories). I used ftw as below. ( I am not clear about what the third argument of ftw should be) deleteDirecory(char* dirName) { ftw(dirName, clear,100); } int clear(const char *file, const struct stat *sb, int flag) { ... 7 Nov 2006 11:42
File modification monitoring of many, many files on Solaris I have a data collection system running on Solaris 9 which is constantly writing data into numerous files, hundreds of thousands of files. Each of these files contain a day of data, the current "day file" has data appended to it throughout the day (something like a 512-byte write every 15 seconds might be average)... 27 Oct 2006 14:38
Sharing a struct between threads? I am currently creating a "train scheduler" for class, using multiple threads. Please forgive my ignorance on this topic, but I created a struct in my main( ) but cant seem to access the struct in the thread functions. I am given these error outputs: assign3.c: In function `ArriveBridge': assign3.c:84: error: `w... 28 Oct 2006 08:33
Are twalk/tfind/tdelete/tsearch POSIX I see from the man page they are SVID; are they POSIX? Thanks a. ... 27 Oct 2006 15:42
Logon script I am writing a logon script. Here are the things I did want to make. Connect to myself with username and pwd then connect to a differnt account on the same machine using "su". I can put this commands in teh automated logon screen ,but I want to run a logon script after disabling automated logon. If so ,my ques... 25 Oct 2006 11:51
using pipe Hi guys, I wanted to know if the "pipe" can only be used for data transmission from one process to another (parent to child and viceversa) ? Can a pipe be used to transfer data in the same prcoess ? For instance, I want to execute some function and want to save its output to a pipe then in the same proc... 27 Oct 2006 16:13
System call Hi, How can one programmatically detect cache hits/misses or cache size? Is there system call to detect them? ... 25 Oct 2006 09:45
sigwait behiviour Hi All One query on sigwait( ) Suppose , I call sigwait () in a single threaded process with a sigset containing one alarm say SIGALRM. I block it before calling sigwait () as recomended. and if I have one more signal handler installed say SIGUSR1 Now while waiting sigwait( ), will it return if the proces... 18 Oct 2006 08:58
UDP socket Hi, what will happen, when the UDP socket application is sending the data at the speed greater than the receiver speed. Both the system are connected via cross cable. Ethernet flow control is ON. My understanding is as follows:- 1) receiver socket buffer will get full and then ethernet flow control will come... 6 Oct 2006 03:58 |