Bug #1624 ยป size.patch
| file.c | ||
|---|---|---|
|
return stat_ctime(&st);
|
||
|
}
|
||
|
/*
|
||
|
* call-seq:
|
||
|
* file.size => integer
|
||
|
*
|
||
|
* Returns the size of <i>file</i> in bytes.
|
||
|
*
|
||
|
* File.new("testfile").size #=> 66
|
||
|
*
|
||
|
*/
|
||
|
static VALUE
|
||
|
rb_file_size(VALUE obj)
|
||
|
{
|
||