From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 17 Dec 2002 16:49:09 +0300 From: Alexey Tourbin To: ALT Linux general discussion list Message-ID: <20021217134909.GB7033@ungrund> Mail-Followup-To: ALT Linux general discussion list References: <3DFD91C6.2030906@mmk.ru> <20021216105750.GD46267@osdn.org.ua> <3DFD9D9F.9060700@mmk.ru> <20021216115034.GA4765@ungrund> <3DFE91A2.4090005@mmk.ru> <20021217081514.GB4059@basalt.office.altlinux.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tsOsTdHNUZQcU9Ye" Content-Disposition: inline In-Reply-To: <20021217081514.GB4059@basalt.office.altlinux.ru> Subject: [Comm] Re: du =?koi8-r?B?z9vJwsHF1NPRLi4u?= Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: --tsOsTdHNUZQcU9Ye Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit On Tue, Dec 17, 2002 at 11:15:14AM +0300, Dmitry V. Levin wrote: > Вот вам пример в числах: > > 1. Скомпилируйте lseek.c (attached), > 2. Запустите > $ ./lseek 0x400000000 ~/tmp/empty > 3. Сравните вывод от > $ ls -lh ~/tmp/empty > и > $ du -h ~/tmp/empty Идея понятна, только программа не работает. :( $ gcc lseek.c -o lseek $ ./lseek 0x400000000 ~/tmp/empty ./lseek: lseek: 0: Invalid argument $ > P.S. Этот предмет - для community@. -- WBR, Alexey Tourbin "He is a sane man who can have tragedy BIOZAK Ltd., Russia in his heart and comedy in his head." --G.K.Chesterton --tsOsTdHNUZQcU9Ye Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE9/ytVfBKgtDjnu0YRAiMFAJ9rQ97hdk2jhtfTbSkUFv72AOOhigCfUuRC Xu3Yz80hEU+Yb7Rk5UJxKYQ= =/31d -----END PGP SIGNATURE----- --tsOsTdHNUZQcU9Ye--