GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
unistd-wrappers.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 //
3 // Copyright (C) 2016-2021 The Octave Project Developers
4 //
5 // See the file COPYRIGHT.md in the top-level directory of this
6 // distribution or <https://octave.org/copyright/>.
7 //
8 // This file is part of Octave.
9 //
10 // Octave is free software: you can redistribute it and/or modify it
11 // under the terms of the GNU General Public License as published by
12 // the Free Software Foundation, either version 3 of the License, or
13 // (at your option) any later version.
14 //
15 // Octave is distributed in the hope that it will be useful, but
16 // WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU General Public License for more details.
19 //
20 // You should have received a copy of the GNU General Public License
21 // along with Octave; see the file COPYING. If not, see
22 // <https://www.gnu.org/licenses/>.
23 //
24 ////////////////////////////////////////////////////////////////////////
25 
26 #if ! defined (octave_unistd_wrappers_h)
27 #define octave_unistd_wrappers_h 1
28 
29 #if ! defined (__cplusplus)
30 # include <stdbool.h>
31 #endif
32 
33 #include <sys/types.h>
34 
35 #if defined __cplusplus
36 extern "C" {
37 #endif
38 
39 extern int octave_access_f_ok (void);
40 
41 extern int octave_access_r_ok (void);
42 
43 extern int octave_access_w_ok (void);
44 
45 extern int octave_access_x_ok (void);
46 
47 extern int octave_access_wrapper (const char *nm, int mode);
48 
49 extern int octave_chdir_wrapper (const char *nm);
50 
51 extern int octave_close_wrapper (int fd);
52 
53 extern const char * octave_ctermid_wrapper (void);
54 
55 extern int octave_dup2_wrapper (int fd1, int fd2);
56 
57 extern int octave_execv_wrapper (const char *file, char *const *argv);
58 
59 extern int octave_execvp_wrapper (const char *file, char *const *argv);
60 
61 extern pid_t octave_fork_wrapper (void);
62 
63 extern int octave_ftruncate_wrapper (int fd, off_t sz);
64 
65 extern char * octave_getcwd_wrapper (char *nm, size_t len);
66 
67 extern gid_t octave_getegid_wrapper (void);
68 
69 extern uid_t octave_geteuid_wrapper (void);
70 
71 extern gid_t octave_getgid_wrapper (void);
72 
73 extern int octave_gethostname_wrapper (char *nm, size_t len);
74 
75 extern pid_t octave_getpgrp_wrapper (void);
76 
77 extern pid_t octave_getpid_wrapper (void);
78 
79 extern pid_t octave_getppid_wrapper (void);
80 
81 extern uid_t octave_getuid_wrapper (void);
82 
83 extern int octave_isatty_wrapper (int fd);
84 
85 extern int octave_link_wrapper (const char *nm1, const char *nm2);
86 
87 extern int octave_pipe_wrapper (int *fd);
88 
89 extern int octave_rmdir_wrapper (const char *nm);
90 
91 extern pid_t octave_setsid_wrapper (void);
92 
93 extern int octave_stdin_fileno (void);
94 
95 extern int octave_stdout_fileno (void);
96 
97 extern int octave_symlink_wrapper (const char *nm1, const char *nm2);
98 
99 extern int octave_unlink_wrapper (const char *nm);
100 
101 extern pid_t octave_vfork_wrapper (void);
102 
103 extern bool octave_have_fork (void);
104 
105 extern bool octave_have_vfork (void);
106 
107 #if defined __cplusplus
108 }
109 #endif
110 
111 #endif
int octave_access_f_ok(void)
pid_t octave_setsid_wrapper(void)
gid_t octave_getgid_wrapper(void)
uid_t octave_geteuid_wrapper(void)
int octave_ftruncate_wrapper(int fd, off_t sz)
int octave_gethostname_wrapper(char *nm, size_t len)
int octave_rmdir_wrapper(const char *nm)
pid_t octave_fork_wrapper(void)
pid_t octave_getpgrp_wrapper(void)
pid_t octave_getppid_wrapper(void)
int octave_access_r_ok(void)
bool octave_have_vfork(void)
int octave_execvp_wrapper(const char *file, char *const *argv)
gid_t octave_getegid_wrapper(void)
int octave_execv_wrapper(const char *file, char *const *argv)
pid_t octave_getpid_wrapper(void)
int octave_close_wrapper(int fd)
int octave_access_wrapper(const char *nm, int mode)
int octave_unlink_wrapper(const char *nm)
int octave_chdir_wrapper(const char *nm)
int octave_symlink_wrapper(const char *nm1, const char *nm2)
uid_t octave_getuid_wrapper(void)
int octave_access_x_ok(void)
int octave_link_wrapper(const char *nm1, const char *nm2)
int octave_access_w_ok(void)
const char * octave_ctermid_wrapper(void)
int octave_stdout_fileno(void)
char * octave_getcwd_wrapper(char *nm, size_t len)
pid_t octave_vfork_wrapper(void)
int octave_isatty_wrapper(int fd)
bool octave_have_fork(void)
int octave_dup2_wrapper(int fd1, int fd2)
int octave_stdin_fileno(void)
int octave_pipe_wrapper(int *fd)
F77_RET_T len
Definition: xerbla.cc:61