Date: Sat, 8 Feb 2003 09:04:37 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Auge Mike <tobe_better@hotmail.com> Cc: freebsd-questions@FreeBSD.org Subject: Re: printf ... ! Message-ID: <20030208070437.GB2356@gothmog.gr> In-Reply-To: <F41iJxkoU8oxlIUZNAj00005f89@hotmail.com> References: <F41iJxkoU8oxlIUZNAj00005f89@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-02-08 01:48, Auge Mike <tobe_better@hotmail.com> wrote: > 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)) This is the definition of the write(2) system call. You should also check the implementation of printf(3) at the libc sources. Look at /usr/src/lib/libc/stdio/printf.c for more details about the way printf() works in userlevel programs. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030208070437.GB2356>