Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ames!ptsfa!ihnp4!homxb!houxm!hropus!ka From: ka@hropus.UUCP (Kenneth Almquist) Newsgroups: comp.unix.questions Subject: Re: write (fildes, buf, nbytes) -- is "nbytes" int or unsigned? Message-ID: <1210@hropus.UUCP> Date: Fri, 31-Jul-87 12:46:57 EDT Article-I.D.: hropus.1210 Posted: Fri Jul 31 12:46:57 1987 Date-Received: Sun, 2-Aug-87 03:53:11 EDT References: <868@bsu-cs.UUCP> <895@bsu-cs.UUCP> Organization: Bell Labs, Holmdel, NJ Lines: 7 > I suspect that the left column [with nbytes unsigned] represents the > way things have been, and the right column [with nbytes signed] represents > the way some people feel things ought to be. Originally, nbytes was signed. The write system call predates the invention of the unsigned data type. Kenneth Almquist