Ext
 All Files Functions
Functions
ls.h File Reference

Contains method to list dir. More...

#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>
#include "../core/defines.h"
#include "../core/superblock.h"
#include "../core/inode.h"
#include "../core/methods.h"
#include "utils.h"
#include "net_utils.h"

Go to the source code of this file.

Functions

void ls (const char *path_to_fs_file, const char *path_to_dir, int output_fd)
 List directory. More...
 

Detailed Description

Contains method to list dir.

Author
yaishenka
Date
13.03.2021

Definition in file ls.h.

Function Documentation

void ls ( const char *  path_to_fs_file,
const char *  path_to_dir,
int  output_fd 
)

List directory.

Parameters
path_to_fs_file
path_to_dir
output_fdfd to print answer
Warning
Must be called only on initialized fs file

Definition at line 30 of file ls.h.