tiny-shell
0.2
A mini shell project aiming to gain knowledge about Win32 and Linux API
Loading...
Searching...
No Matches
source
runner
datetime.c
Go to the documentation of this file.
1
#include "
datetime.h
"
2
3
enum
run_result
run_get_time
() {
4
return
get_time
() ?
RUN_OK
:
RUN_FAILED
;
5
}
6
7
enum
run_result
run_get_date
() {
8
return
get_date
() ?
RUN_OK
:
RUN_FAILED
;
9
}
run_get_date
enum run_result run_get_date()
get date
Definition
datetime.c:7
run_get_time
enum run_result run_get_time()
get time
Definition
datetime.c:3
datetime.h
get_date
bool get_date()
Get current date.
get_time
bool get_time()
Get current time.
run_result
run_result
Result of the execution of a command line.
Definition
res.h:6
RUN_OK
@ RUN_OK
Definition
res.h:7
RUN_FAILED
@ RUN_FAILED
Definition
res.h:9
Generated on Mon Jun 16 2025 14:35:16 for tiny-shell by
1.13.2