summaryrefslogtreecommitdiffstats
path: root/sysif.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-13 21:11:39 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-13 21:11:39 -0700
commit56633b2640b1f58950d1e6781a2fb859d6a1d687 (patch)
tree6bc43cea676d9abd89a2fc43ef955b8eb130f053 /sysif.h
parent09d2998e5cf4587a466aeccd759c48b0c7eca1bc (diff)
downloadtxr-56633b2640b1f58950d1e6781a2fb859d6a1d687.tar.gz
txr-56633b2640b1f58950d1e6781a2fb859d6a1d687.tar.bz2
txr-56633b2640b1f58950d1e6781a2fb859d6a1d687.zip
Implement ~/.txr_profile mechanism.
* parser.c (load_rcfile): New function. (repl): Compute profile file name and try to load it before entering loop. * sysif.c (statp): Linkage becomes external. * sysif.h (statp): Declaration updated. * txr.1: Documented.
Diffstat (limited to 'sysif.h')
-rw-r--r--sysif.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysif.h b/sysif.h
index b2b5ce2f..7b7e8d3f 100644
--- a/sysif.h
+++ b/sysif.h
@@ -33,4 +33,5 @@ extern val gid_s, rdev_s, size_s, blksize_s, blocks_s;
extern val atime_s, mtime_s, ctime_s;
val getenv_wrap(val name);
+val statp(val path);
void sysif_init(void);