summaryrefslogtreecommitdiff
path: root/pith/charconv/filesys.h
diff options
context:
space:
mode:
authorEduardo Chappa <echappa@gmx.com>2013-02-03 00:59:38 -0700
committerEduardo Chappa <echappa@gmx.com>2013-02-03 00:59:38 -0700
commit094ca96844842928810f14844413109fc6cdd890 (patch)
treee60efbb980f38ba9308ccb4fb2b77b87bbc115f3 /pith/charconv/filesys.h
downloadalpine-094ca96844842928810f14844413109fc6cdd890.tar.xz
Initial Alpine Version
Diffstat (limited to 'pith/charconv/filesys.h')
-rw-r--r--pith/charconv/filesys.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/pith/charconv/filesys.h b/pith/charconv/filesys.h
new file mode 100644
index 00000000..07703092
--- /dev/null
+++ b/pith/charconv/filesys.h
@@ -0,0 +1,50 @@
+/*-----------------------------------------------------------------------
+ $Id: filesys.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
+ -----------------------------------------------------------------------*/
+
+/*
+ * ========================================================================
+ * Copyright 2006 University of Washington
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * ========================================================================
+ */
+
+#ifndef PITH_CHARCONV_FILESYS_INCLUDED
+#define PITH_CHARCONV_FILESYS_INCLUDED
+
+
+#include <general.h>
+
+
+/*
+ * Exported Prototypes
+ */
+char *fname_to_locale(char *);
+char *fname_to_utf8(char *);
+UCS read_a_wide_char(FILE *fp, void *input_cs);
+int write_a_wide_char(UCS ucs, FILE *fp);
+int our_stat(char *, struct stat *);
+FILE *our_fopen(char *, char *);
+int our_open(char *, int, mode_t);
+int our_creat(char *, mode_t);
+int our_mkdir(char *, mode_t);
+int our_rename(char *, char *);
+int our_unlink(char *);
+int our_link(char *, char *);
+int our_lstat(char *, struct stat *);
+int our_chmod(char *, mode_t);
+int our_chown(char *, uid_t, gid_t);
+int our_truncate(char *, off_t);
+int our_utime(char *, struct utimbuf *);
+int our_access(char *, int);
+char *our_getenv(char *);
+char *fgets_binary(char *, int, FILE *);
+
+
+#endif /* PITH_CHARCONV_FILESYS_INCLUDED */