Add Example
This commit is contained in:
parent
07e56839c7
commit
768df4b636
7 changed files with 199 additions and 0 deletions
15
2025.04.18/Example/io_status.h
Normal file
15
2025.04.18/Example/io_status.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef IO_STATUS_H
|
||||
#define IO_STATUS_H
|
||||
|
||||
#define ERR_MEM "Error: Not enough memory!"
|
||||
#define ERR_OPEN "Error: Cannot open file"
|
||||
#define ERR_READ "Error: Cannot read file"
|
||||
|
||||
typedef enum _io_status
|
||||
{
|
||||
SUCCESS,
|
||||
ERROR_OPEN,
|
||||
ERROR_READ
|
||||
} io_status;
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue