RTEMS CPU Kit with SuperCore
Data Structures | Macros | Functions
extern-ls.h File Reference
#include <sys/cdefs.h>
#include <setjmp.h>
Include dependency graph for extern-ls.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rtems_shell_ls_globals
 
struct  DISPLAY
 
struct  NAMES
 

Macros

#define NO_PRINT   1
 
#define major(d)   rtems_filesystem_dev_major_t(d)
 
#define minor(d)   rtems_filesystem_dev_minor_t(d)
 
#define blocksize   globals->blocksize
 
#define termwidth   globals->termwidth
 
#define sortkey   globals->sortkey
 
#define rval   globals->rval
 
#define output   globals->output
 
#define now   globals->now
 
#define f_accesstime   globals->f_accesstime
 
#define f_column   globals->f_column
 
#define f_columnacross   globals->f_columnacross
 
#define f_flags   globals->f_flags
 
#define f_grouponly   globals->f_grouponly
 
#define f_humanize   globals->f_humanize
 
#define f_inode   globals->f_inode
 
#define f_listdir   globals->f_listdir
 
#define f_listdot   globals->f_listdot
 
#define f_longform   globals->f_longform
 
#define f_nonprint   globals->f_nonprint
 
#define f_nosort   globals->f_nosort
 
#define f_numericonly   globals->f_numericonly
 
#define f_octal   globals->f_octal
 
#define f_octal_escape   globals->f_octal_escape
 
#define f_recursive   globals->f_recursive
 
#define f_reversesort   globals->f_reversesort
 
#define f_sectime   globals->f_sectime
 
#define f_singlecol   globals->f_singlecol
 
#define f_size   globals->f_size
 
#define f_statustime   globals->f_statustime
 
#define f_stream   globals->f_stream
 
#define f_type   globals->f_type
 
#define f_typedir   globals->f_typedir
 
#define f_whiteout   globals->f_whiteout
 
#define exit_jump   &(globals->exit_jmp)
 
#define exit(ec)   rtems_shell_ls_exit(globals, ec)
 
#define acccmp   rtems_shell_ls_acccmp
 
#define revacccmp   rtems_shell_ls_revacccmp
 
#define modcmp   rtems_shell_ls_modcmp
 
#define revmodcmp   rtems_shell_ls_revmodcmp
 
#define namecmp   rtems_shell_ls_namecmp
 
#define revnamecmp   rtems_shell_ls_revnamecmp
 
#define statcmp   rtems_shell_ls_statcmp
 
#define revstatcmp   rtems_shell_ls_revstatcmp
 
#define sizecmp   rtems_shell_ls_sizecmp
 
#define revsizecmp   rtems_shell_ls_revsizecmp
 
#define printescaped   rtems_shell_ls_printescaped
 
#define printacol   rtems_shell_ls_printacol
 
#define printcol   rtems_shell_ls_printcol
 
#define printlong   rtems_shell_ls_printlong
 
#define printscol   rtems_shell_ls_printscol
 
#define printstream   rtems_shell_ls_printstream
 
#define usage   rtems_shell_ls_usage
 

Functions

const char * user_from_uid (uid_t uid, int nouser)
 
void rtems_shell_ls_exit (rtems_shell_ls_globals *globals, int code)
 
int acccmp (const FTSENT *, const FTSENT *)
 
int revacccmp (const FTSENT *, const FTSENT *)
 
int modcmp (const FTSENT *, const FTSENT *)
 
int revmodcmp (const FTSENT *, const FTSENT *)
 
int namecmp (const FTSENT *, const FTSENT *)
 
int revnamecmp (const FTSENT *, const FTSENT *)
 
int statcmp (const FTSENT *, const FTSENT *)
 
int revstatcmp (const FTSENT *, const FTSENT *)
 
int sizecmp (const FTSENT *, const FTSENT *)
 
int revsizecmp (const FTSENT *, const FTSENT *)
 
int printescaped (rtems_shell_ls_globals *globals, const char *)
 
void printacol (rtems_shell_ls_globals *globals, DISPLAY *)
 
void printcol (rtems_shell_ls_globals *globals, DISPLAY *)
 
void printlong (rtems_shell_ls_globals *globals, DISPLAY *)
 
void printscol (rtems_shell_ls_globals *globals, DISPLAY *)
 
void printstream (rtems_shell_ls_globals *globals, DISPLAY *)
 
int safe_print (rtems_shell_ls_globals *globals, const char *)
 
void usage (rtems_shell_ls_globals *globals)
 
void strmode (mode_t mode, char *p)