EAGLE Help
Filedata Functions
-
Function
-
Gets the timestamp and size of a file.
-
Syntax
-
int filesize(string filename);
int filetime(string filename);
-
Returns
-
filesize returns the size (in byte) of the given file.
filetime returns the timestamp of the given file in a format to be used with the time functions.
See also time,
Filename Functions
Example
board(B)
printf("Board: %s\nSize: %d\nTime: %s\n",
B.name, filesize(B.name),
t2string(filetime(B.name)));
Index
|
Copyright © 2005 CadSoft Computer GmbH
|