Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2003 18:42:48 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        David Leimbach <leimy2k@mac.com>
Cc:        Auge Mike <tobe_better@hotmail.com>, current@FreeBSD.org
Subject:   Re: printf....!
Message-ID:  <20030209164248.GA30623@gothmog.gr>
In-Reply-To: <EE44CED6-3BB3-11D7-8E7D-0003937E39E0@mac.com>
References:  <F93rBLSAQV6uPDVniSn0000956b@hotmail.com> <EE44CED6-3BB3-11D7-8E7D-0003937E39E0@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-02-08 16:23, David Leimbach <leimy2k@mac.com> 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_write, (int)(fd), (const void *)(s), (size_t)(n))
>
> Isn't it ultimately interrupt 08 on the PC with an index in the EAX
> register for the write "subroutine"?

Interrupt 0x80.

> I am pretty sure that's correct.  I might have the interrupt value
> wrong though.

- Giorgos


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030209164248.GA30623>