diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-04-15 06:39:40 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-04-15 06:39:40 -0700 |
commit | b1e62b22783b3fb3b32ccfae2f41c08433190538 (patch) | |
tree | ba194cf71b0b60336438baa5c4f0f3300fa3a31c /sysif.h | |
parent | 49d7f282199277cedfc90ab50d95efac6c8c87bd (diff) | |
download | txr-b1e62b22783b3fb3b32ccfae2f41c08433190538.tar.gz txr-b1e62b22783b3fb3b32ccfae2f41c08433190538.tar.bz2 txr-b1e62b22783b3fb3b32ccfae2f41c08433190538.zip |
Expose stat_to_struct outside of sysif.
* sysif.c (stat_to_struct): Change to external linkage.
* sysif.h (stat_to_struct): Declared.
Diffstat (limited to 'sysif.h')
-rw-r--r-- | sysif.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -43,6 +43,10 @@ typedef long off_t; #endif val getenv_wrap(val name); +#if HAVE_SYS_STAT +struct stat; +val stat_to_struct(struct stat st); +#endif val statp(val path); val statf(val path); off_t off_t_num(val num); |