Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: lseek on /proc/kmsg | Date | Wed, 23 Mar 2005 10:25:50 +0000 (UTC) |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |