tiny-shell 0.2
A mini shell project aiming to gain knowledge about Win32 and Linux API
Loading...
Searching...
No Matches
datetime.h File Reference
#include "../os/operations.h"
#include "res.h"
Include dependency graph for datetime.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

enum run_result run_get_time ()
 get time
 
enum run_result run_get_date ()
 get date
 

Function Documentation

◆ run_get_date()

enum run_result run_get_date ( )

get date

Definition at line 7 of file datetime.c.

7 {
8 return get_date() ? RUN_OK : RUN_FAILED;
9}
bool get_date()
Get current date.
@ RUN_OK
Definition res.h:7
@ RUN_FAILED
Definition res.h:9

References get_date(), RUN_FAILED, and RUN_OK.

Referenced by invoke_runner().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_get_time()

enum run_result run_get_time ( )

get time

Definition at line 3 of file datetime.c.

3 {
4 return get_time() ? RUN_OK : RUN_FAILED;
5}
bool get_time()
Get current time.

References get_time(), RUN_FAILED, and RUN_OK.

Referenced by invoke_runner().

Here is the call graph for this function:
Here is the caller graph for this function: