diff options
| author | Nakidai <plaza521@inbox.ru> | 2024-08-24 14:29:55 +0300 |
|---|---|---|
| committer | Nakidai <plaza521@inbox.ru> | 2024-08-24 14:29:55 +0300 |
| commit | c74aea420c662039072f606b2d5ef1c73426e481 (patch) | |
| tree | 4790fa17644df9e11380d6c02b8928c923c20aba /include/readfile.h | |
| parent | 2b0e05cbc1e4d9beccd3a5867c8730880f6ecc10 (diff) | |
| download | 3cl-c74aea420c662039072f606b2d5ef1c73426e481.tar.gz 3cl-c74aea420c662039072f606b2d5ef1c73426e481.zip | |
Add more code
Add some funcitons to work with variables, add more instructions and add ability to stop the code from `ccl_instruction`
Diffstat (limited to 'include/readfile.h')
| -rw-r--r-- | include/readfile.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/readfile.h b/include/readfile.h index 5358fc7..dcb47eb 100644 --- a/include/readfile.h +++ b/include/readfile.h @@ -1,6 +1,11 @@ #ifndef __READFILE_H__ #define __READFILE_H__ +/** + * Read file by filename, die on error + * @param name Path to file + * @return Contents of file with additional '\0' at the end + */ char *readfile(const char *name); #endif /* __READFILE_H__ */ |