summaryrefslogtreecommitdiffstats
path: root/sys/sys/sysproto.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-07-12 06:52:44 +0000
committeralfred <alfred@FreeBSD.org>2002-07-12 06:52:44 +0000
commit44bbcfec60e9e63c0f81414e58e2b2f78c954cef (patch)
tree837f6489b04328aa17da31a99960651e2dd16c26 /sys/sys/sysproto.h
parent598d9de7159896359d35efcf71926db072992c2f (diff)
downloadFreeBSD-src-44bbcfec60e9e63c0f81414e58e2b2f78c954cef.zip
FreeBSD-src-44bbcfec60e9e63c0f81414e58e2b2f78c954cef.tar.gz
regen for freebsd4_sendfile(2) compat.
Diffstat (limited to 'sys/sys/sysproto.h')
-rw-r--r--sys/sys/sysproto.h38
1 files changed, 27 insertions, 11 deletions
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index 8166e1b..c00d6f3 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.113 2002/06/13 23:43:53 rwatson Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.114 2002/06/29 17:26:19 julian Exp
*/
#ifndef _SYS_SYSPROTO_H_
@@ -907,15 +907,6 @@ struct utrace_args {
char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)];
char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
};
-struct sendfile_args {
- char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
- char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
- char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
- char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
- char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)];
- char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
- char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
-};
struct kldsym_args {
char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
@@ -1097,6 +1088,15 @@ struct uuidgen_args {
char store_l_[PADL_(struct uuid *)]; struct uuid * store; char store_r_[PADR_(struct uuid *)];
char count_l_[PADL_(int)]; int count; char count_r_[PADR_(int)];
};
+struct sendfile_args {
+ char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
+ char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
+ char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
+ char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
+ char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)];
+ char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
+ char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
+};
int nosys(struct thread *, struct nosys_args *);
void sys_exit(struct thread *, struct sys_exit_args *);
int fork(struct thread *, struct fork_args *);
@@ -1302,7 +1302,6 @@ int sched_get_priority_max(struct thread *, struct sched_get_priority_max_args *
int sched_get_priority_min(struct thread *, struct sched_get_priority_min_args *);
int sched_rr_get_interval(struct thread *, struct sched_rr_get_interval_args *);
int utrace(struct thread *, struct utrace_args *);
-int sendfile(struct thread *, struct sendfile_args *);
int kldsym(struct thread *, struct kldsym_args *);
int jail(struct thread *, struct jail_args *);
int sigprocmask(struct thread *, struct sigprocmask_args *);
@@ -1343,6 +1342,7 @@ int kse_yield(struct thread *, struct kse_yield_args *);
int kenv(struct thread *, struct kenv_args *);
int lchflags(struct thread *, struct lchflags_args *);
int uuidgen(struct thread *, struct uuidgen_args *);
+int sendfile(struct thread *, struct sendfile_args *);
#ifdef COMPAT_43
@@ -1511,6 +1511,22 @@ int ogetdirentries(struct thread *, struct ogetdirentries_args *);
#endif /* COMPAT_43 */
+
+#ifdef COMPAT_FREEBSD4
+
+struct freebsd4_sendfile_args {
+ char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
+ char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
+ char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
+ char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
+ char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)];
+ char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
+ char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
+};
+int freebsd4_sendfile(struct thread *, struct freebsd4_sendfile_args *);
+
+#endif /* COMPAT_FREEBSD4 */
+
#undef PAD_
#undef PADL_
#undef PADR_
OpenPOWER on IntegriCloud