diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-13 21:11:39 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-13 21:11:39 -0700 |
commit | 56633b2640b1f58950d1e6781a2fb859d6a1d687 (patch) | |
tree | 6bc43cea676d9abd89a2fc43ef955b8eb130f053 /sysif.h | |
parent | 09d2998e5cf4587a466aeccd759c48b0c7eca1bc (diff) | |
download | txr-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |