X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ffs%2Fstat.h;h=9056c926d697ed03ae04df82c62d7e2ec8661455;hp=55a1fec51b575f50b0208878a4e066a20383c98f;hb=eeb6ed7b20d56578ff8c68f3c94e887d5ac768ee;hpb=af94bc926e301e9b871dc18662b4fa6e5614fdbf diff --git a/source/fs/stat.h b/source/fs/stat.h index 55a1fec..9056c92 100644 --- a/source/fs/stat.h +++ b/source/fs/stat.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspfs -Copyright © 2006-2008 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_FS_STAT_H_ #define MSP_FS_STAT_H_ @@ -14,17 +7,13 @@ Distributed under the LGPL 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