Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <431F321C.108@lapo.it>
Date: Wed, 07 Sep 2005 20:31:56 +0200
From: Lapo Luchini <lapo@lapo.it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7.2.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: happily messing up with raw devices (aka: lseek problems)
References: <431F266D.3050604@lapo.it> <20050907174848.GR5555@calimero.vinschen.de> <431F2D6D.8000200@lapo.it> <20050907181836.GT5555@calimero.vinschen.de>
In-Reply-To: <20050907181836.GT5555@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Corinna Vinschen wrote:
> Try this:
>   #include <unistd.h>

It works.
Silly me, I didn't think about checking headers, as it was good at
compile-time (strange thing, tough, read did work, but lseek didn't).
Oh well, thanks.

- --
Lapo Luchini
lapo@lapo.it (OpenPGP & X.509)
www.lapo.it (ICQ UIN: 529796)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJDHzIcAAoJELBiMTth2oCDuv8P/iitryn3Zbx8TKf4i0lAwBw7
9v9Ss8klGwEDO4iJjreZA3FyUmqxDqtgXZc4P4xj+uv4UhLgxoFBPcu2DLMskbg3
UZqH02yCuQSLrH2WQn8nmlsaqw2VMmQTifZ8PvsPo8psH/F+16oJLQSiEkJy5jfU
JUGcSUehUQUx3j6qlsoV/ONsY+1HzlMPFORdA875lThloJh0qJmM7M75+tB3oAC1
VXJqn7qBxBMgUtD/WGGt5HuUVZm+opRpC2M+cUNgcf5sLh8suQ9UAXX2JShYB+92
SinT4BYOdjlX5H962IpbfeOPAVVOsUv84uQsGOe20U3CDeMjD5/qEyAya5etrB9w
Lv3QinTkQl+sxjRU7COUTJcdi+YLprWFtlYi1Kl17U/4HM+zCUWkKwdP+Sa7/ZAy
62NZC+91RQJPXPUVlLDgC1FmP47jg5gdXJaMdks4fp+27euMO4HdAAMDLYRGC9QG
xizRNPqhDe9eIiLenKqlQkhYWHyGQ/vykIZtcGVY83cuxdGg+seu/Af/ZTIBI1tn
yDLfu7CAChgSL86V1ut/73FI+SygxnMBK98nstc7rgFhwzWl5dfwivHITuLeTngS
fW2FbastV3SnJszun+mm8MkWETs4ZjPCucnWh9EU93sP7LxZHE7Eh0GOxG+je4+l
hyf/pCjT3aFrVOhLs2Qs
=sDGs
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

