From c74aea420c662039072f606b2d5ef1c73426e481 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sat, 24 Aug 2024 14:29:55 +0300 Subject: Add more code Add some funcitons to work with variables, add more instructions and add ability to stop the code from `ccl_instruction` --- include/readfile.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/readfile.h') 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__ */ -- cgit 1.4.1