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
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
"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
>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
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/ :-)
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