[vlc-devel] [cube at cubidou.net: [Videolan-devel] access/file shortcut to open file descriptors]
rdenis at simphalempin.com
Thu Feb 19 12:13:45 CET 2009
"filedesc://" evokes file descriptION. In my opinion, the usual accronym
for file descriptOR is just "fd://".
Also, it seems the dup() call is missing. Or why should this behave
differently from the stdin case?
There are a few subtle differences between this patch and
- it reads the file from current descriptor offset instead of from the
- it changes the file descriptor offset,
- it inherits file locks,
- on Linux, /proc/self/fd cannot open sockets and anonymous pipes,
- on OSX, /dev/fd cannot open directories.
I guess these are non-issues.
More information about the vlc-devel