sorting in C

2002-06-14 Thread echo dev
I am pooling in as many different ways of sorting data in C i can anyone have a fav??? If anyone can give me some ideas on the best way to sort data in C would be helpful.. Thanks Dan _ Chat with friends online, try MSN

Re: sorting in C

2002-06-14 Thread Alfred Perlstein
* echo dev [EMAIL PROTECTED] [020614 00:06] wrote: I am pooling in as many different ways of sorting data in C i can anyone have a fav??? If anyone can give me some ideas on the best way to sort data in C would be helpful.. Thanks man qsort -- -Alfred Perlstein [[EMAIL PROTECTED]] To

Re: gif(4) tunnel through MSN DSL modem

2002-06-14 Thread Nielsen
I have this working fine. On the BSD machine behind NAT the tunnel looks like it's between a 192.168.x.x IP and the public IP of the machine across the internet. On the remote machine it looks like a normal tunnel between the two IPs. NAT takes care of the translation on the tunnel packets. I've

Re: sorting in C

2002-06-14 Thread Terry Lambert
echo dev wrote: I am pooling in as many different ways of sorting data in C i can anyone have a fav??? If anyone can give me some ideas on the best way to sort data in C would be helpful.. Thanks The Art Of Computer Programming Volume 3: Sorting and Searching Donald

locore.s quiestion

2002-06-14 Thread Sergey Lyubka
Hello, I am writing an article about FreeBSD's startup and kernel init (it is at http://oasis.uptsoft.com/~devnull/dh/boot.html for whom it may be interesting) I am stucked at two lines in locore.s (IA 32 arch) /usr/src/sys/i386/i386/locore.s: pushl $begin /*

Re: sorting in C

2002-06-14 Thread David Schultz
Thus spake echo dev [EMAIL PROTECTED]: I am pooling in as many different ways of sorting data in C i can anyone have a fav??? If anyone can give me some ideas on the best way to sort data in C would be helpful.. Thanks I've always been partial to bogosort. To Unsubscribe: send mail to

Re: locore.s quiestion

2002-06-14 Thread Terry Lambert
Sergey Lyubka wrote: Hello, I am writing an article about FreeBSD's startup and kernel init (it is at http://oasis.uptsoft.com/~devnull/dh/boot.html for whom it may be interesting) This link is broken. I am stucked at two lines in locore.s (IA 32 arch) /usr/src/sys/i386/i386/locore.s:

Re: locore.s quiestion

2002-06-14 Thread tony
[EMAIL PROTECTED] wrote: Hello, Hi I am writing an article about FreeBSD's startup and kernel init (it is at http://oasis.uptsoft.com/~devnull/dh/boot.html for whom it may be interesting) I get a no route to host error. I am stucked at two lines in locore.s (IA 32 arch)

Re: sorting in C

2002-06-14 Thread Alex Belits
On Fri, 14 Jun 2002, David Schultz wrote: Thus spake echo dev [EMAIL PROTECTED]: I am pooling in as many different ways of sorting data in C i can anyone have a fav??? If anyone can give me some ideas on the best way to sort data in C would be helpful.. Thanks I've always been partial

Re: locore.s quiestion

2002-06-14 Thread Sergey Lyubka
From my own notes: The address of the begin symbol is pushed onto the stack, and the btext() function returns ...not to its

Re: locore.s quiestion

2002-06-14 Thread Sergey Lyubka
Oh, got it. That's because of paging is set up. Thanks Tony ! -sergey p.s. btw, btext executes in protected mode, not in real. since the link is up now, you can refer to the article , that is described well there. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers

Re: sorting in C

2002-06-14 Thread khromy
On Fri, Jun 14, 2002 at 07:06:06AM +, echo dev wrote: I am pooling in as many different ways of sorting data in C i can anyone have a fav??? If anyone can give me some ideas on the best way to sort data in C would be helpful.. Thanks Below is an example of how to use qsort. Hope it

Re: locore.s quiestion

2002-06-14 Thread tony
[EMAIL PROTECTED] wrote: Oh, got it. That's because of paging is set up. Thanks Tony ! :-) p.s. btw, btext executes in protected mode, not in real. Ooops, yes I got distracted. I intended to say something about this kind of strange code being commonly used when switching from real to

Re: sorting in C

2002-06-14 Thread Dan Arlow
dumb question: extra in the previous post? why do both this qsort(array, NUM_INTS, sizeof(*array), (int (*)(const void *, const void *)) comp); and this qsort(array, NUM_INTS, sizeof(*array), (int (*)(const void *, const void *)) comp); work properly? I tried both and both

Re: gif(4) tunnel through MSN DSL modem

2002-06-14 Thread John Nielsen
- Original Message - From: Nielsen [EMAIL PROTECTED] To: John Nielsen [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, June 14, 2002 1:31 AM Subject: Re: gif(4) tunnel through MSN DSL modem I have this working fine. On the BSD machine behind NAT the tunnel looks like it's between

Re: sorting in C

2002-06-14 Thread Nicolas Rachinsky
* Dan Arlow [EMAIL PROTECTED] [2002-06-14 14:40 -0400]: dumb question: extra in the previous post? why do both this qsort(array, NUM_INTS, sizeof(*array), (int (*)(const void *, const void *)) comp); and this qsort(array, NUM_INTS, sizeof(*array), (int (*)(const void *, const void

Re: sorting in C

2002-06-14 Thread Brian T . Schellenberger
On Friday 14 June 2002 06:36 pm, Nicolas Rachinsky wrote: | * Dan Arlow [EMAIL PROTECTED] [2002-06-14 14:40 -0400]: | dumb question: extra in the previous post? | | why do both this | | qsort(array, NUM_INTS, sizeof(*array), | (int (*)(const void *, const void *)) comp); | | and this |

Re: sorting in C

2002-06-14 Thread Cyrille Lefevre
On Fri, Jun 14, 2002 at 07:06:06AM +, echo dev wrote: I am pooling in as many different ways of sorting data in C i can anyone have a fav??? If anyone can give me some ideas on the best way to sort data in C would be helpful.. Thanks is that references helping you ? qsort(3),

Is CDIOCCAPABILITY appropraite for ATAPI devices?

2002-06-14 Thread Brian Reichert
Is CDIOCCAPABILITY appropriate for ATAPI devices? The man page for cd(4) describes ioctl(2) calls which apply to SCSI CD-ROM drives, some of which can also apply to APAPI CD-ROM drives. I've tried to use CDIOCCAPABILITY on my ATAPI DVD drive, but I can't tell if the error I get:

Re: gif(4) tunnel through MSN DSL modem

2002-06-14 Thread Casey T. Zednick
Do you mean the NAT that the modem is doing? If so, that's a problem. I'm using an Arescom NetDSL 800 series modem, which comes pre-configured per stringent specifications from MSN. And (as far as I know--and I've looked) there is no way for me to do any kind of configuration on it at