lkml.org 
[lkml]   [1997]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: pre-patch2.1.45-3 lookin' good
>And: real file names in /proc/*/fd/*. Wow. Is there any other Unix that
>comes even close to being able to do this?

You can't (at least not allways):

fd = open(filename)
unlink(filename);
/* file has no filename here ... */
close(fd);

Gerd

--
Gerd Knorr <kraxel@cs.tu-berlin.de> | http://www.cs.tu-berlin.de/~kraxel/

Smart data structures and dump code works
alot better than the other way around.

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.578 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site