[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/lib/apt/methods/http - close(-1)

On Fri, 29 Jan 1999, Russell Coker wrote:

> What is a close(-1) supposed to do?  The http program does one and I'm curious
> as to why...

Absolutely nothing :> -1 is defined to be an invalid FD and close(-1) is
to return an error code and basically do nothing when given -1


Reply to: