Re: Important Bug Fix (Was Re: Truncation of Majordomo diges…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Warner Losh
Cc: Pete Ashdown, Exim Mailing List
Asunto: Re: Important Bug Fix (Was Re: Truncation of Majordomo digest messages?)
On Wed, 25 Jun 1997, Warner Losh wrote:

> Wouldn't dup(2) do the trick here? Or is there something subtle that
> I'm missing about how dup(2) works?


"dup() returns a new file descriptor having the following in common with
the original open file descriptor fildes:

   Same open file (or pipe)
   Same file pointer (that is, both file desciptors share one file 
     pointer) 
   Same access mode .... "


-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714