Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 1996 20:36:08 +0200
From:      roberto@keltia.freenix.fr (Ollivier Robert)
To:        freebsd-current@FreeBSD.org
Subject:   Re: File handle -> char* ?
Message-ID:  <199608301836.UAA22835@keltia.freenix.fr>
In-Reply-To: <Pine.BSI.3.93.960830115907.6260A-100000@fgate.flevel.co.uk>; from Developer on Aug 30, 1996 12:01:19 %2B0100
References:  	<Pine.BSI.3.93.960830115907.6260A-100000@fgate.flevel.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Developer:
> Is there any way in which I can pass a routine a file handle and make the
> data just go into a buffer which I can then use as a char* later? The only

mmap(2) is your friend.
-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 2.2-CURRENT #18: Sun Aug 18 19:16:52 MET DST 1996



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608301836.UAA22835>