• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2025 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef APPSPAWN_LIB_FUNC_DEFINE_H
17 #define APPSPAWN_LIB_FUNC_DEFINE_H
18 
19 #define fseeko Fseeko
20 #define ftello Ftello
21 #define access Access
22 #define mkdir Mkdir
23 #define fread Fread
24 #define fwrite Fwrite
25 #define realpath Realpath
26 #define fopen Fopen
27 #define fclose Fclose
28 #define chmod Chmod
29 #define utime Utime
30 #define stat(pathname, statbuf) Stat(pathname, statbuf)
31 #define ferror Ferror
32 #define fflush Fflush
33 #define remove Remove
34 #define getpwuid Getpwuid
35 #define getgrgid Getgrgid
36 #define open Open
37 #define read Read
38 #define write Write
39 #define close Close
40 #define umount2 Umount2
41 #define rmdir Rmdir
42 
43 #endif // APPSPAWN_LIB_FUNC_DEFINE_H