Sha256: 1031cf5020677ad036ff2cbdd6f5ccf63913899e5cff87e38340ef85c66c20a9
Contents?: true
Size: 359 Bytes
Versions: 18
Compression:
Stored size: 359 Bytes
Contents
#include "main.h" int main( int argc, char *argv[] ) { printf( "The complete contents of this directory:\n" ); DIR *directory = opendir( "." ); if( directory == NULL ) { puts( "Can't read directory" ); return 1; } while( struct dirent * file = readdir( directory ) ) { puts( file->d_name ); } closedir( directory ); return 0; }
Version data entries
18 entries across 18 versions & 1 rubygems