lstat .. co to je ?
Robert Vojta
vojta na ipex.cz
Středa Březen 7 09:27:43 CET 2001
# Ma to nieco zo zobrazovanim obsahu adresara alebo tak nejak.
# Blbne mi to v KDE, konkretne pise kio_file: WARNING: lstat didn't work on,
# a nemam ani predstavu co vlastne opravovat :-(
man 2 stat
...
int stat(const char *file_name, struct stat *buf);
int fstat(int filedes, struct stat *buf);
int lstat(const char *file_name, struct stat *buf);
...
lstat is identical to stat, only the link itself is
stated, not the file that is obtained by tracing the
links.
Takze to zjistuje naprosto to same co stat, ale neprochazi linky az k
cilovemu souboru, ale vraci info primo o tom danem linku.
S pozdravem,
Robert Vojta
--
_
|-| __ Robert Vojta <vojta na ipex.cz> -= Oo.oO =-
|=| [Ll] IPEX, s.r.o.
"^" ====`o
Další informace o konferenci Linux