programming - linux - opendir readdir closedirWhat links here?
/*
 * This program displays the names of all files in the current directory.
 */


  1. include <dirent.h>
  2. include <stdio.h>


int main(void) { DIR *d; struct dirent *dir; d = opendir("."); if (d) { while ((dir = readdir(d)) != NULL) { printf("%s\n", dir->d_name); }

closedir(d); }

return(0); }



FAQ > Accessing a directory and all the files within it
programming - linux - opendir readdir closedir
programming:DDE:IExplorer DDE Server
Time internal format
programming - DDE - PROGMAN DDE Server
AutoCAD - Dialog Control Language (DCL) - (action_tile key action-expression)
tk:tk_frame
filename:programming - linux - opendir readdir closedir
filename:programming%20%2D%20linux%20%2D%20opendir%20readdir%20closedir
last edit:March 23 2013 18:37:12 (4941 days ago)
ct = 1791040284.000000 = October 03 2026 15:11:24
ft = 1364063832.000000 = March 23 2013 18:37:12
dt = 426976452.000000