Task 7 is done
This commit is contained in:
parent
31810f5090
commit
8f1d1cccff
23 changed files with 576 additions and 0 deletions
16
2025.05.23/06Ex/status.h
Normal file
16
2025.05.23/06Ex/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