summaryrefslogtreecommitdiffstats
path: root/sysif.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-04-15 06:39:40 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-04-15 06:39:40 -0700
commitb1e62b22783b3fb3b32ccfae2f41c08433190538 (patch)
treeba194cf71b0b60336438baa5c4f0f3300fa3a31c /sysif.h
parent49d7f282199277cedfc90ab50d95efac6c8c87bd (diff)
downloadtxr-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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysif.h b/sysif.h
index ebba51db..99cb3ac0 100644
--- a/sysif.h
+++ b/sysif.h
@@ -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);