First  |  Prev |  Next  |  Last
Pages: 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
select error.
Hi, I got an select error. The error code is returned is 14. As iam new to network programming and this error is occuring from existing program which was coded before some engineer. Im not in a position to speak network terms to discuss on mail groups. This error is occuring only on Aix 5.2 and latest serie... 18 Aug 2006 06:21
How can i read the i-node of a directory?
Hello all, i am reading the book of Kernighan "Programming in the Unix Environment" and i found an example in which the od command was used with parameters "-d .", thus "od -d .". I tried it in my system and it doesn't work, while my man page for this command says that the parameter have to be a file and not a dir... 28 Jul 2006 20:41
fork and execlp()
Hi all, I wander why the program below didnot do printf(). if((pid = fork()) < 0 ){ perror(""); }else if(pid == 0){ execlp(buf,buf,(char *)0); printf("Why this cannot be printed??"); return -1; } It seems execlp() ended child process when finished. Why? Thanks. ... 28 Jul 2006 09:57
How to run a C program under linux ?
Hi. How do I run my first C application under linux it is compiled I just need the code to run the program. Greetings Tobias ... 28 Jul 2006 02:27
Regarding threads of different processes
Hi, I have a question. I have one process, that spawns two threads, say, A,B. Now, after spawning these two threads, I did some applications(downloading a file). Everything is going fine. After the application is over, I have created another task , which will spawn 10 different threads ,say, P1,P2....,P10.... 27 Jul 2006 04:11
coping all files from a directory
Hello, i have a directory;say /home/pavi i has some files and every day files keep adding to it. i am writing a shell script which copies all the files from this directory to another.say /home/tom/tmp how do i copy all the files from /home/pavi to /home/tom/tmp all the files in the directory /home/tom/t... 21 Jul 2006 15:25
A thread ID question
Hi, I wrote a small program that involves printing out thread ID. The result on Solaris is different than that on Linux: #include <stdio.h> #include <unistd.h> #include <pthread.h> #include <semaphore.h> sem_t s; void *Hi(void *arg){ /* a semaphore to protect the printf() */ sem_wait(&s); pri... 9 Jul 2006 20:29
Finding common lines between text files
Hi, If I have two text files a.txt and b.txt containing: a.txt: a b c d e b.txt: c d a What tool would I use to get the common lines between these two files? Thanks in advance. -- Henrik ... 4 Jul 2006 11:48
High-Speed TCP/IP Message Logging
Hi, I am at a complete loss for ideas on how to solve the following problem. My single-threaded TCP/IP server has three types of messages arriving on three separate sockets each at around a rate of 10Hz of size 300-400KB (yes, large! unfortunately no way around this). At worst case this results in approximate... 6 Jul 2006 07:24
gethostbyaddr / nslookup failed on AIX 5.3
Hi, I have a AIX 5.3 machine; the gethostbyaddr ( ) and nslookup failed. I have the correct entry in /etc/hosts file. But the "host" command worked fine. Does anyone why? Also, is there any C library call similar to "host" command on AIX? Any comments/suggestions are appreciated. Thanks, Kevin... 17 Jun 2006 02:47
First  |  Prev |  Next  |  Last
Pages: 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234