From owner-cvs-all Sat Mar 27 16:38:19 1999 Delivered-To: cvs-all@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id EB81015235; Sat, 27 Mar 1999 16:38:04 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id QAA17148; Sat, 27 Mar 1999 16:37:16 -0800 (PST) (envelope-from dillon) Date: Sat, 27 Mar 1999 16:37:16 -0800 (PST) From: Matthew Dillon Message-Id: <199903280037.QAA17148@apollo.backplane.com> To: Dmitrij Tejblum Cc: Alan Cox , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern init_sysent.c sys_generic.c syscalls.c syscalls.master src/sys/sys syscall-hide.h syscall.h syscall.mk sysproto.h References: <199903272338.DAA00388@tejblum.dnttm.rssi.ru> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk :Alan Cox wrote: :> alc 1999/03/27 13:17:00 PST :> :> Added pread and pwrite. These functions are defined by the X/Open :> Threads Extension. (Note: We use the same syscall numbers as NetBSD.) : :Then why our interface to these syscalls differs from the NetBSD one? : :And what the functions do with offset == -1? : :Dima If offset is -1, the descriptor's current ( thread unsafe ) seek position is used. I dunno in regards to NetBSD. They seem to have an extra 'pad' argument in there. Is that a standard? X/Open's pread/pwrite doesn't have a pad. Alan: Manual pages would be nice. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message