Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Feb 2010 17:39:06 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Does getc(3) use the read(2) syscall?
Message-ID:  <hkc8r7$ut3$2@ger.gmane.org>
In-Reply-To: <201002031024.03835.dmw@coder.cl>
References:  <e0e25d5e1002030326p5e0ef0a1q5ebc77a4e1c69b7c@mail.gmail.com> <201002031024.03835.dmw@coder.cl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/03/10 14:23, Daniel Molina Wegener wrote:
> On Wednesday 03 February 2010,
> Stefan Midjich<swehack@gmail.com>  wrote:

>> So my question is primarily, does getc use the read system call eventually?
>
>    No, certainly not.

I think you missed the "eventually" part :)

Eventually, it does - but not for every single byte read.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hkc8r7$ut3$2>