| Revision: | 1086 |
| Committed: | Fri Mar 5 17:21:20 2004 UTC (21 years, 7 months ago) by mmeineke |
| Content type: | text/plain |
| File size: | 305 byte(s) |
| Log Message: | added support for files larger than 2 Gb |
| # | Content |
|---|---|
| 1 | #define _FILE_OFFSET_BITS 64 |
| 2 | |
| 3 | #include <stdlib.h> |
| 4 | #include <stdio.h> |
| 5 | |
| 6 | #include "frameCount.h" |
| 7 | |
| 8 | int main(int argc, char *argv[] ){ |
| 9 | |
| 10 | if( argc != 2 ){ |
| 11 | printf( "I need a dump file to read.\n" ); |
| 12 | exit(8); |
| 13 | } |
| 14 | |
| 15 | printf( "file \"%s\" has %d frames.\n", argv[1], |
| 16 | frameCount( argv[1], 0 ) ); |
| 17 | |
| 18 | return 0; |
| 19 | } |