First  |  Prev |  Next  |  Last
Pages: 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Online SUS access (was: directories III)
Alan Curry wrote: |Is there an authoritative online function reference for contemporary unix? A newer version of the same spec is here: [snip] I have no idea why they hide them under inexplicable names like "000095399" and "9699919799" instead of some naming scheme that would enable us to find ... 1 Mar 2010 10:15
Does non-blocking socket use a queue ? How to know if it's full ?
Hi, I use non blocking socket in my UDP client/server program and I ask myself what will happen if I send more data than my connection can handle, I suppose a queue is used internaly, but is it possible to know if it's full and clear it ? Thanks ... 2 Mar 2010 12:22
Where does gdb find source code to display and step through?
I am mystified by something that seems like magic. In the simplest case, I wrote the source code and gdb finds it because it happens to be in the current directory. What about, however, harder cases? What if the *.c file is in some other directory? Is all the source code saved in the *.o (and later in the *.a) ... 2 Mar 2010 13:32
Is there a C library function to open a file found in a path?
I am using Linux. Is there a C library function to search along a path to locate a file? Supposing I have an environment variable FOOPATH as follows: BARPATH=/var/test/dir1:/var/test/dir2:/dirdoesnotexist:/home/fooser I want to open the file foo.txt, which may be located in one of the directories in BARPAT... 21 Mar 2010 03:49
stdin problem.
Hi, My code allows a user to redirect a file to stdin so that some text data can be read, no problem. Later a user confirmation to proceed is requested, using getchar(). This is not working because of what's left in stdin. Initially I was actually stopping reading stdin when some specific data being sear... 2 Mar 2010 11:14
a.out and ELF file formats
Hi, I have been analyzing the file formats and i wonder why was a.out replaced by ELF file format ? Were there any flaws in a.out file format so that it led to the raise of ELF file format ? Further, the earlier core dump files were also based on a.out format, but now core dumps are also based on ELF file fo... 8 Mar 2010 10:48
More quirks importing from bsd
In comp.os.linux.development.apps Mark Hobley <markhobley(a)> wrote: extern char *progname; Hmmm. It's not external now though. I changed this to: char *progname; When I compile, I get an error: getname.c: In function 'main': getname.c:96: error: 'optind' undeclared (first ... 28 Feb 2010 20:03
USB stick rescue (no MBR no Partition) "Code 10"
============================ EXECUTIVE SUMMARY: Flash-USB-memory-stick (2gig) DEAD, advice on recovery needed. - udev, lsusb *do* recognise the drive, - but *no device* /dev/sdxx is created Question: partition-table? Mbr? output of dmesg, udevinfo, lsusb is here: 2 Mar 2010 07:51
Another doubleunderscore thingy
In comp.os.linux.development.apps Mark Hobley <markhobley(a)> wrote: Right. That is just as messy as __dead. I think I will just delete the tag. Right I have found another doubleunderscore thingybob. This time __progname: void usage(void) { extern char *__progname; ... 28 Feb 2010 15:35
What is the __dead usage macro at the start of a C program forbsd?
On Sat, 27 Feb 2010 22:08:02 +0000, Mark Hobley wrote: In comp.os.linux.development.apps Stefan Ram <ram(a)> wrote: Using Google, it took me about 30 seconds to learn that this seems to be used to mark non-returning functions. Right ok. What did you type in the search box, a... 27 Feb 2010 17:41
First  |  Prev |  Next  |  Last
Pages: 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40