summaryrefslogtreecommitdiff
path: root/sys/src/cmd/hjfs/fns.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-11-18 12:00:13 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2012-11-18 12:00:13 +0100
commitbcaf52ebcde1933f4891c3e6f994951aa7c012f7 (patch)
tree561e56efcd1ac83f128667cda0ddbccc0e57d3ae /sys/src/cmd/hjfs/fns.h
parent28452d3fe553c1c61321d1973ee5db57b4dcc3a5 (diff)
hjfs: ORCLOSE parent check, estrdup / erealloc, CHFNOPERM consistency
check for write premission in the parent directory for open with ORCLOSE. honor CHFNOPERM not just in chancreat(), pikeshedd the error handling. added estrdup()/erealloc() that call sysfatal instead of returning nil.
Diffstat (limited to 'sys/src/cmd/hjfs/fns.h')
-rw-r--r--sys/src/cmd/hjfs/fns.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/hjfs/fns.h b/sys/src/cmd/hjfs/fns.h
index 26e525e27..c75ff8e9f 100644
--- a/sys/src/cmd/hjfs/fns.h
+++ b/sys/src/cmd/hjfs/fns.h
@@ -1,4 +1,6 @@
void* emalloc(int);
+void* erealloc(void*,int);
+char* estrdup(char*);
void bufinit(int);
Buf* getbuf(Dev *, uvlong, int, int);
void putbuf(Buf *);