#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<unistd.h>
#include<getopt.h>
#include<dirent.h>

#define YEARS_UTC	1900

/* Modos de impresion, dados en la linea de argumentos */
#define	NORMAL		0x01		/* $./myls */
#define	LONG		0x02		/* $./myls -l */
#define ALL		0x04		/* $./myls -a */
#define LONG_ALL	LONG | ALL	/* $./myls -la */

/* prototipos de funciones */
int selector();
void print_ls(int, struct dirent **, int);
int get_kilobytes(int, struct dirent **);

