displaying function call stack in code332 (12/21/2007 9:42:32 PM) comp.unix.programmer Hi - For a particular application I need to print the function call stack in code for debugging (similar to the output from 'bt' command in gdb ). I am working on GNU/Linux. On searching for the same -... rakesh.usenet(27)
fork and pointers3540 (12/23/2007 8:42:40 PM) comp.unix.programmer Hi, i want a pointer that intially points to the same memory region for the child as for the parent process. Whats the simple way to do this? ... syren(52)
About some snippet on APUE332 (12/29/2007 3:52:26 AM) comp.unix.programmer Hello comp.unix.programmer note: APUE is Advanced Programming on the UNIX Environment Reading on chapter 3.9 of APUE, there is this code: #include "apue.h" #define BUFFSIZE 4096 int main(void) { int ... vippstar(1211)
string compare2036 (1/23/2008 5:42:37 AM) comp.lang.c Hi guys, I am using custom string structures in a project. typedef struct{ short int length; char data[256]; }my_long_string; and typedef struct{ short int length; char data[32]; }my_short_string; I want t... rohin.koul(28)
Mysterious network IO behavior4047 (2/4/2008 5:19:03 PM) comp.unix.programmer I have a program which does this (pseudocode), where there is one input and one or more outputs. set all fd to be nonblocking while(1){ do over all io streams { call FD_SET (network and/or local) }... mathog(321)
Chat server : Threading in select call2337 (2/8/2008 12:49:48 PM) comp.unix.programmer Hello all, I need a design suggestion. My chat server waits in an infinite for loop. Within it lies a "select" call waiting for new connections and checking the status of connected clients. for(; ; ) { ... rahulsinner(151)
Hard link to directories1033 (2/15/2008 4:00:36 AM) comp.unix.programmer Why hard link to directories is not allowed for normal user? What happens if a super user create a hard link for a directory? Can any one explain briefly? ... lakindia89(72)
Testing gethostbyname() blocking250 (2/19/2008 9:15:34 AM) comp.unix.programmer Hi, I am planning to replace the gethostbyname() blocking call with the asynchronous library routines , i.e., libcares. But, before I do that, how do I go about testing the blocking call , and subsequently... raseelbhagat(10)
Bounds checking functions4528 (2/27/2008 4:28:10 AM) comp.lang.c Hey all, After seeing the Secure version I/O functions thread, it occured to me that maybe not everyone agrees with the almost universal adage that I have heard. I have Always been told that using things lik... arcfide(659)
stack, pop, push and min in o(1)1645 (4/22/2008 9:05:37 AM) comp.unix.programmer Hi Everyone, I have a stack implementation having integers. The complexity of push and pop is o(1). And i need to provide another functionality of printing the minimum value in the stack. I don't have any res... sam_cit(402)