RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions | Variables
main_ls.c File Reference
#include <rtems.h>
#include <rtems/shell.h>
#include <rtems/shellconfig.h>
#include <getopt.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <dirent.h>
#include <err.h>
#include <errno.h>
#include <fts.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <termios.h>
#include <pwd.h>
#include <grp.h>
#include "internal.h"
#include "extern-ls.h"
Include dependency graph for main_ls.c:

Macros

#define __need_getopt_newlib
 
#define BY_NAME   0
 
#define BY_SIZE   1
 
#define BY_TIME   2
 

Functions

void rtems_shell_ls_exit (rtems_shell_ls_globals *globals, int code)
 

Variables

rtems_shell_cmd_t rtems_shell_LS_Command
 

Variable Documentation

◆ rtems_shell_LS_Command

rtems_shell_cmd_t rtems_shell_LS_Command
Initial value:
= {
"ls",
"ls [dir] # list files in the directory",
"files",
rtems_shell_main_ls,
NULL,
NULL
}