xv6/ls.c File Reference

#include "types.h"
#include "stat.h"
#include "user.h"
#include "fs.h"

Go to the source code of this file.

Functions

char * fmtname (char *path)
void ls (char *path)
int main (int argc, char *argv[])


Function Documentation

char* fmtname ( char *  path  ) 

Definition at line 7 of file ls.c.

References DIRSIZ, memmove(), memset(), and strlen().

Referenced by ls().

void ls ( char *  path  ) 

int main ( int  argc,
char *  argv[] 
)

Definition at line 74 of file ls.c.

References exit(), and ls().


Generated on Fri Jan 7 12:25:49 2011 for xv6 by  doxygen 1.5.6