diff options
Diffstat (limited to 'include/sys/pathname.h')
-rw-r--r-- | include/sys/pathname.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/sys/pathname.h b/include/sys/pathname.h new file mode 100644 index 000000000..ffdf585b8 --- /dev/null +++ b/include/sys/pathname.h @@ -0,0 +1,11 @@ +#ifndef _SPL_PATHNAME_H +#define _SPL_PATHNAME_H + +typedef struct pathname { + char *pn_buf; /* underlying storage */ + char *pn_path; /* remaining pathname */ + size_t pn_pathlen; /* remaining length */ + size_t pn_bufsize; /* total size of pn_buf */ +} pathname_t; + +#endif /* SPL_PATHNAME_H */ |