Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jul 1999 14:53:05 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        brian@Awfulhak.org, jmg@FreeBSD.org
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net if_tun.c
Message-ID:  <199907240453.OAA15384@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>I don't think I agree that writing 0 bytes should result in EIO, 
>perhaps EINVAL would be more apt ?

Both are surprising.  POSIX.1 requires writing 0 bytes to a regular
file to succeed and have no effect (e.g., it must not change the
modification time).  Why should it behave differently for devices?

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907240453.OAA15384>