diff options
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/os.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h index 6f0d1c741bca..82e5aeae2b84 100644 --- a/arch/um/include/os.h +++ b/arch/um/include/os.h | |||
@@ -137,24 +137,24 @@ extern int os_set_owner(int fd, int pid); | |||
137 | extern int os_mode_fd(int fd, int mode); | 137 | extern int os_mode_fd(int fd, int mode); |
138 | 138 | ||
139 | extern int os_seek_file(int fd, unsigned long long offset); | 139 | extern int os_seek_file(int fd, unsigned long long offset); |
140 | extern int os_open_file(char *file, struct openflags flags, int mode); | 140 | extern int os_open_file(const char *file, struct openflags flags, int mode); |
141 | extern int os_read_file(int fd, void *buf, int len); | 141 | extern int os_read_file(int fd, void *buf, int len); |
142 | extern int os_write_file(int fd, const void *buf, int count); | 142 | extern int os_write_file(int fd, const void *buf, int count); |
143 | extern int os_file_size(char *file, unsigned long long *size_out); | 143 | extern int os_file_size(const char *file, unsigned long long *size_out); |
144 | extern int os_file_modtime(char *file, unsigned long *modtime); | 144 | extern int os_file_modtime(const char *file, unsigned long *modtime); |
145 | extern int os_pipe(int *fd, int stream, int close_on_exec); | 145 | extern int os_pipe(int *fd, int stream, int close_on_exec); |
146 | extern int os_set_fd_async(int fd, int owner); | 146 | extern int os_set_fd_async(int fd, int owner); |
147 | extern int os_clear_fd_async(int fd); | 147 | extern int os_clear_fd_async(int fd); |
148 | extern int os_set_fd_block(int fd, int blocking); | 148 | extern int os_set_fd_block(int fd, int blocking); |
149 | extern int os_accept_connection(int fd); | 149 | extern int os_accept_connection(int fd); |
150 | extern int os_create_unix_socket(char *file, int len, int close_on_exec); | 150 | extern int os_create_unix_socket(const char *file, int len, int close_on_exec); |
151 | extern int os_shutdown_socket(int fd, int r, int w); | 151 | extern int os_shutdown_socket(int fd, int r, int w); |
152 | extern void os_close_file(int fd); | 152 | extern void os_close_file(int fd); |
153 | extern int os_rcv_fd(int fd, int *helper_pid_out); | 153 | extern int os_rcv_fd(int fd, int *helper_pid_out); |
154 | extern int create_unix_socket(char *file, int len, int close_on_exec); | 154 | extern int create_unix_socket(char *file, int len, int close_on_exec); |
155 | extern int os_connect_socket(char *name); | 155 | extern int os_connect_socket(const char *name); |
156 | extern int os_file_type(char *file); | 156 | extern int os_file_type(char *file); |
157 | extern int os_file_mode(char *file, struct openflags *mode_out); | 157 | extern int os_file_mode(const char *file, struct openflags *mode_out); |
158 | extern int os_lock_file(int fd, int excl); | 158 | extern int os_lock_file(int fd, int excl); |
159 | extern void os_flush_stdout(void); | 159 | extern void os_flush_stdout(void); |
160 | extern int os_stat_filesystem(char *path, long *bsize_out, | 160 | extern int os_stat_filesystem(char *path, long *bsize_out, |