X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ffs%2Fstat.h;h=9056c926d697ed03ae04df82c62d7e2ec8661455;hp=e6b20022b43338d97fd0485c2ac07686247df51c;hb=eeb6ed7b20d56578ff8c68f3c94e887d5ac768ee;hpb=e1452710edb6b1d0ebceb4b9273dae4b2f899630 diff --git a/source/fs/stat.h b/source/fs/stat.h index e6b2002..9056c92 100644 --- a/source/fs/stat.h +++ b/source/fs/stat.h @@ -7,17 +7,13 @@ namespace Msp { namespace FS { -/** -Gets information about a file. Returns 0 on success or -1 on error. This +/** Gets information about a file. Returns 0 on success or -1 on error. This version can be used to check for file existence and get information in one -call. -*/ +call. */ int stat(const Path &fn, struct stat &st); -/** -Returns information about a file. This version throws an exception if an error -occurs. -*/ +/** Returns information about a file. This version throws an exception if an +error occurs. */ struct stat stat(const Path &fn); /// Gets information about a file, without following symbolic links