X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffs%2Fstat.h;h=9056c926d697ed03ae04df82c62d7e2ec8661455;hb=4c8b6a16bfe62541bc68aa0d3827158c9b9617da;hp=e6b20022b43338d97fd0485c2ac07686247df51c;hpb=7563bb650aa11207a7c128ba44468cf5ad2897c7;p=libs%2Fcore.git 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