| 21 | /* other helpers */ |
| 22 | |
| 23 | int cmd_Files( void ) |
| 24 | { |
| 25 | DIR * theDir; |
| 26 | |
| 27 | theDir = opendir( "." ); |
| 28 | if( !theDir ) return -2; |
| 29 | |
| 30 | struct dirent *theDirEnt = readdir( theDir ); |
| 31 | while( theDirEnt ) { |
| 32 | printf( " %s\n", theDirEnt->d_name ); |
| 33 | theDirEnt = readdir( theDir ); |
| 34 | } |
| 35 | closedir( theDir ); |
| 36 | |
| 37 | return 0; |
| 38 | } |
| 39 | |
| 40 | void setup( void ); |
| 41 | void loop( void ); |
nothing calls this directly
no outgoing calls
no test coverage detected