Re: printf....!

2003-02-09 Thread Giorgos Keramidas
On 2003-02-08 16:23, David Leimbach <[EMAIL PROTECTED]> wrote: > Dave > On Saturday, February 8, 2003, at 04:12 PM, Auge Mike wrote: > >Hi all, > > > >I was trying to know how "printf" works in FreeBSD... I hvae > >reached to this point : > > > >#define _write(fd, s, n) \ > > __syscall(SYS_writ

Re: printf....!

2003-02-09 Thread Wes Peters
On Saturday 08 February 2003 22:12, Auge Mike wrote: > Hi all, > > I was trying to know how "printf" works in FreeBSD... I hvae reached to > this point : > > #define _write(fd, s, n) \ > __syscall(SYS_write, (int)(fd), (const void *)(s), (size_t)(n)) > > I'am not really familiar with the way

Re: printf....!

2003-02-09 Thread clemens fischer
"Auge Mike" <[EMAIL PROTECTED]>: > I was trying to know how "printf" works in FreeBSD... I hvae reached > to this point : > > #define _write(fd, s, n) \ > __syscall(SYS_write, (int)(fd), (const void *)(s), (size_t)(n)) if your program runs in user-space, try strace(1) or ktrace(1). cleme

Re: printf....!

2003-02-08 Thread Craig Rodrigues
>I was trying to know how "printf" works in FreeBSD... I hvae reached >to this >point : > >#define _write(fd, s, n) \ > __syscall(SYS_write, (int)(fd), (const void *)(s), (size_t)(n)) > >I'am not really familiar with the way FreeBSD handle interrupts. I >like from >any one of you to tell me

Re: printf....!

2003-02-08 Thread Miguel Mendez
On Sat, 8 Feb 2003 16:23:21 -0600 David Leimbach <[EMAIL PROTECTED]> wrote: Howdy. > Isn't it ultimately interrupt 08 on the PC with an index in the EAX > register for the write "subroutine"? > > I am pretty sure that's correct. I might have the interrupt value > wrong though. s/08/0x80/ :-)

Re: printf....!

2003-02-08 Thread David Leimbach
Isn't it ultimately interrupt 08 on the PC with an index in the EAX register for the write "subroutine"? I am pretty sure that's correct. I might have the interrupt value wrong though. Dave On Saturday, February 8, 2003, at 04:12 PM, Auge Mike wrote: Hi all, I was trying to know how "pri