Need to get filesystem constants from horizon.io

This commit is contained in:
2022-04-30 12:46:15 +01:00
parent eb0c90369a
commit 668ca0ca5f

View File

@@ -1,8 +1,10 @@
#ifndef SYS_HORIZON_SYS__FCONST_H_ #ifndef SYS_HORIZON_SYS__FCONST_H_
#define SYS_HORIZON_SYS__FCONST_H_ #define SYS_HORIZON_SYS__FCONST_H_
/* Must use the value of horizon.io.NAME_MAX */
#define __FILENAME_MAX 255 #define __FILENAME_MAX 255
/* Must use the values from horizon.io.Whence */
#define __SEEK_SET 0 #define __SEEK_SET 0
#define __SEEK_CUR 1 #define __SEEK_CUR 1
#define __SEEK_END 2 #define __SEEK_END 2