Date: Sat, 8 Feb 2003 16:23:21 -0600 From: David Leimbach <leimy2k@mac.com> To: "Auge Mike" <tobe_better@hotmail.com> Cc: current@FreeBSD.ORG Subject: Re: printf....! Message-ID: <EE44CED6-3BB3-11D7-8E7D-0003937E39E0@mac.com> In-Reply-To: <F93rBLSAQV6uPDVniSn0000956b@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 "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 what functions will be called next and in > which > files, till we get the string of the printf function argment displayed > in > the terminal. > > Yours, > > > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message 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?EE44CED6-3BB3-11D7-8E7D-0003937E39E0>