Re: ioctl: No space left on device
- From: Robert Love <rml novell com>
- To: Daniel Drake <dsd gentoo org>
- Cc: dashboard-hackers gnome org
- Subject: Re: ioctl: No space left on device
- Date: Wed, 22 Jun 2005 18:31:45 -0400
On Wed, 2005-06-22 at 22:49 +0100, Daniel Drake wrote:
> Pick a better one from `man errno` ? :)
>
> Actually, something like the attached might be useful.
Nice!
I'd put the perror() first. I think it reads better in the EFAULT case
but, more importantly, you could be reading errno from fprintf() if you
call it after.
Robert Love
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]