Date: Sat, 30 Aug 2003 00:59:05 -0700 (PDT) From: Diomidis Spinellis <dds@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/sys read.2 Message-ID: <200308300759.h7U7x5kN009045@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dds 2003/08/30 00:59:05 PDT FreeBSD src repository Modified files: lib/libc/sys read.2 Log: Document that read(2) can also return EPERM See e.g. nfsclient/nfs_vnops.c static int nfs_read(struct vop_read_args *ap) { struct vnode *vp = ap->a_vp; if (vp->v_type != VREG) return (EPERM); return (nfs_bioread(vp, ap->a_uio, ap->a_ioflag, ap->a_cred)); } Approved by: schweikh (mentor) MFC after: 6 weeks Revision Changes Path 1.20 +3 -0 src/lib/libc/sys/read.2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308300759.h7U7x5kN009045>