printf...! BSD

2003-02-10 Thread Auge Mike


Hi,
First of all, Thanks to all of you for your help and support.

I have tried to go deeper and deeper to find out how printf works. ((( Of 
course the aim of trying to understand the printf, is to understand how 
the internals of the BSD kernel work))) till i've faced the following
function:

  fo_write

which was confusing for me =)

Then, I've figured out that i need to understand two important things in the 
BSD to know how the printf works. The first thing is how dose the device 
driver works, and the second thing is the file system, and small knowledge 
about the process structure.

I will try to do that, but which resources can help me. For Linux, there are 
two great book which can make my life easier FOR LINUX ONLY
1.UNDERSTANDING THE LINUX KERNEL. 2.LINUX DEVICE DRIVERS.

Now what resources you can recommend for me! I prefer Internet resources.

Yours,




_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


printf ... !

2003-02-07 Thread Auge Mike

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,





_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message