Task 5 is done
This commit is contained in:
parent
cd08e7ba3a
commit
31810f5090
18 changed files with 563 additions and 1 deletions
16
2025.05.23/03Ex/status.h
Normal file
16
2025.05.23/03Ex/status.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#ifndef STATUS_H
|
||||
#define STATUS_H
|
||||
|
||||
#define ERR_MSG_MEM "Error: Not enough memory"
|
||||
#define ERR_MSG_OPEN "Error: Cannot open file"
|
||||
#define ERR_MSG_READ "Error: Cannot read file"
|
||||
|
||||
typedef enum
|
||||
{
|
||||
SUCCESS,
|
||||
ERR_OPEN = -1,
|
||||
ERR_READ = -2,
|
||||
ERR_MEM = -3
|
||||
} io_status;
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue