summaryrefslogtreecommitdiff
path: root/pith/charconv/filesys.h
blob: 8b18ffa99c7d0ec5cc9cd6b75bdcc019d7ffa9b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*-----------------------------------------------------------------------
 $Id: filesys.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
  -----------------------------------------------------------------------*/

/*
 * ========================================================================
 * Copyright 2013-2020 Eduardo Chappa
 * 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 */