Subject: Re: Our daily bread(9)
To: None <adam@albedo.art.pl>
From: Jachym Holecek <freza@liberouter.org>
List: tech-kern
Date: 11/30/2005 19:52:56
Hello,

> man bread(9) defines bread() as a 'void' function, while <sys/buf.h> as
> 'int bread()'.  Which one is correct? :)

According to sys/kern/vfs_bio.c bread(9) returns the value returned by
biowait(9) -- so 'int' is correct. Sounds like an adept for documentation PR.

	-- Jachym Holecek