RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions
print-ls.c File Reference
#include <inttypes.h>
#include <rtems.h>
#include <rtems/libio.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <err.h>
#include <errno.h>
#include <fts.h>
#include <grp.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include "internal.h"
#include "extern-ls.h"
Include dependency graph for print-ls.c:

Macros

#define DAYSPERNYEAR   ((time_t)365)
 
#define SECSPERDAY   ((time_t)60 * (time_t)60 * (time_t)24)
 
#define IS_NOPRINT(p)   ((p)->fts_number == NO_PRINT)
 
#define SIXMONTHS   ((DAYSPERNYEAR / 2) * SECSPERDAY)
 

Functions

void printscol (rtems_shell_ls_globals *globals, DISPLAY *dp)
 
void printlong (rtems_shell_ls_globals *globals, DISPLAY *dp)
 
void printcol (rtems_shell_ls_globals *globals, DISPLAY *dp)
 
void printacol (rtems_shell_ls_globals *globals, DISPLAY *dp)
 
void printstream (rtems_shell_ls_globals *globals, DISPLAY *dp)