-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmy_misc.h
More file actions
30 lines (28 loc) · 740 Bytes
/
my_misc.h
File metadata and controls
30 lines (28 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*******************************************************************************
*
* File Name : misc.h
* Created By : Thomas Aurel
* Creation Date : March 10th, 2015
* Last Change : April 22th, 2015 at 23:10:55
* Last Changed By : Thomas Aurel
* Purpose :
*
*******************************************************************************/
/**
* ls execution.
* param: char *dir
* char full path to the directory
* return: int is_it_ok?i
* 0 if it fails
* 1 if it success
**/
int my_ls(char *dir);
/**
* wc execution.
* param: void
* return: int is_it_ok?i
* 0 if it fails
* 1 if it success
**/
int my_wc(void);
int my_stoi(char *str);