1 /*-----------------------------------------------------------------------
2 $Id: filesys.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
3 -----------------------------------------------------------------------*/
6 * ========================================================================
7 * Copyright 2013-2021 Eduardo Chappa
8 * Copyright 2006 University of Washington
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * ========================================================================
19 #ifndef PITH_CHARCONV_FILESYS_INCLUDED
20 #define PITH_CHARCONV_FILESYS_INCLUDED
29 char *fname_to_locale(char *);
30 char *fname_to_utf8(char *);
31 UCS
read_a_wide_char(FILE *fp
, void *input_cs
);
32 int write_a_wide_char(UCS ucs
, FILE *fp
);
33 int our_stat(char *, struct stat
*);
34 FILE *our_fopen(char *, char *);
35 int our_open(char *, int, mode_t
);
36 int our_creat(char *, mode_t
);
37 int our_mkdir(char *, mode_t
);
38 int our_rename(char *, char *);
39 int our_unlink(char *);
40 int our_rmdir(char *);
41 int our_link(char *, char *);
42 int our_lstat(char *, struct stat
*);
43 int our_chmod(char *, mode_t
);
44 int our_chown(char *, uid_t
, gid_t
);
45 int our_truncate(char *, off_t
);
46 int our_utime(char *, struct utimbuf
*);
47 int our_access(char *, int);
48 char *our_getenv(char *);
49 char *fgets_binary(char *, int, FILE *);
52 #endif /* PITH_CHARCONV_FILESYS_INCLUDED */