On Sat, 2003-12-06 at 01:44, Raghu R. Arur wrote: > if it was for only stdout, then I am wondering why should we specify > the argument. I did not say stdout. I said stdio. As in, standard C I/O. All that stuff that takes a FILE*. > I have seen it being used on other file > descriptors also. So it is only handled by the C library and does not get > translated to any syscall?? Right. Like I said, it just flushes the buffer that the C library maintains. It has no relationship to the kernel. Rob Love -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/