Since 4/15/2012 7:39:58 PM, tu102 has written 2 articles and participated in 100 conversations. tu102 signature: tu102
tu102's articles:
Items(2) /1
strings in #if 0424 (6/22/2006 9:30:13 PM) comp.lang.c having read the section on preprocessing (6.10) and not finding the answer, is the following code acceptable? i have compilers which accept it, accept it with a warning, and refuse to compile it. i'm wonderin... tedu
union arrangement1621 (1/24/2006 6:12:04 PM) comp.lang.c does anyone know of a platform/compiler which will place union elements to not overlap? as in union u { int a; long b; size_t c; }; in my limited experience, writing to any of (a, b, or c) will affe... tedu
Is there an ANSI C compatible kill()?1353 (1/4/2008 11:49:23 PM) comp.unix.programmer A program which uses fork(), select() etc. had been compiling cleanly with gcc -Wall -pedantic -std=c99 but when I added a call to kill() the compiler emitted an: implicit declaration of function 'kill'... mathog(321)
is malloc thread-safe??2835 (7/21/2007 9:40:55 AM) comp.lang.c Hi all, i'm the same Nehil who was developing a conservative garbage collector for C and was using Mark and Sweep algorithm. I'm now aiming to extend it for multithreaded environment. Plz note that i'm not ma... nehilparashar(24)
Problem with syscall(2)1031 (7/9/2007 8:33:36 AM) comp.unix.programmer Hello Group, I am attempting to write a KLD that runs under FreeBSD 6.x. I have the function, and the code written, but when I call it from the test program, the passed parameters are getting clobbered with ... spamthis(184)
Question about GPL theft107 (4/7/2007 4:42:41 PM) comp.os.linux.advocacy Imagine the following scenario. One of the BSDs copies some GPL'ed code and releases it under the BSD license. True to form and history, Microsoft then copies that "BSD" code into its own codebase and releases... spammers-begone(169)
freebsd send syscall and cluster size353 (2/28/2007 10:09:26 AM) comp.unix.programmer Hi! Can `send' syscall send in one calling amount of data greater then size of cluster? In other words when I sending 3xcluster_size bytes will I return from `send' 3 times minimum? Thanks a lot, in advance. ... crazydm(6)
checking if pointer is NULL allowed?5115 (1/24/2007 5:59:41 PM) comp.lang.c Hi, Just to check, if i set a pointer explicitly to NULL, i'm not allowed to dereference it? Why is that, it's not like it's pointing to any garbage right? Why else set it to NULL. I can remember some instanc... alef3(61)
referring to struct members by number.931 (12/13/2006 9:09:08 AM) comp.lang.c Greetings For certain operations I would like to have easy access to struct members. Here is an example. struct mystruct { char member1[3]; char member1[50]; char member1[12]; }; /* print the string... edson(14)
purge like utility in c11738 (10/10/2006 9:39:53 AM) comp.lang.c hi .. can we design a program in c which will point out the possible memory leaks in any given c file and fix them.... i am trying to come with something like this but do not know where to start... any help on... ramasubramanian.rahul(33)