public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: hpa@zytor.com (H. Peter Anvin)
To: linux-kernel@vger.kernel.org
Subject: Re: lseek on /proc/kmsg
Date: Wed, 23 Mar 2005 10:25:50 +0000 (UTC)	[thread overview]
Message-ID: <d1rg7e$4h5$1@terminus.zytor.com> (raw)
In-Reply-To: Pine.LNX.4.61.0503230811020.21578@yvahk01.tjqt.qr

Followup to:  <Pine.LNX.4.61.0503230811020.21578@yvahk01.tjqt.qr>
By author:    Jan Engelhardt <jengelh@linux01.gwdg.de>
In newsgroup: linux.dev.kernel
> 
> Well, what does lseek(fd, >0, SEEK_END) do on normal files?
> 

Sets the file pointer beyond the end of the file (a write() there will
extend the file.)

	-hpa

  reply	other threads:[~2005-03-23 10:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-22 18:23 lseek on /proc/kmsg linux-os
2005-03-22 19:25 ` Jan Engelhardt
2005-03-22 19:26   ` linux-os
2005-03-22 21:21     ` Jan Engelhardt
2005-03-22 21:39       ` linux-os
2005-03-23  7:13         ` Jan Engelhardt
2005-03-23 10:25           ` H. Peter Anvin [this message]
2005-03-23 12:11           ` linux-os
     [not found] <3KWsu-7dO-13@gated-at.bofh.it>
     [not found] ` <3KXeQ-83A-7@gated-at.bofh.it>
     [not found]   ` <3KXou-8ft-3@gated-at.bofh.it>
2005-03-22 23:57     ` Robert Hancock
     [not found] <fa.k09kbma.1kkmjhe@ifi.uio.no>
     [not found] ` <fa.j3anmof.1b06cjp@ifi.uio.no>
2005-03-23  2:22   ` Bodo Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='d1rg7e$4h5$1@terminus.zytor.com' \
    --to=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox