svr4_proto.h (64002) | svr4_proto.h (83366) |
---|---|
1/* 2 * System call prototypes. 3 * 4 * DO NOT EDIT-- this file is automatically generated. | 1/* 2 * System call prototypes. 3 * 4 * DO NOT EDIT-- this file is automatically generated. |
5 * $FreeBSD: head/sys/compat/svr4/svr4_proto.h 64002 2000-07-29 10:07:38Z peter $ 6 * created from FreeBSD: src/sys/svr4/syscalls.master,v 1.10 2000/07/29 10:05:24 peter Exp | 5 * $FreeBSD: head/sys/compat/svr4/svr4_proto.h 83366 2001-09-12 08:38:13Z julian $ 6 * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.11 2000/08/31 22:54:05 obrien Exp |
7 */ 8 9#ifndef _SVR4_SYSPROTO_H_ 10#define _SVR4_SYSPROTO_H_ 11 12#include <sys/signal.h> 13 14#include <sys/acl.h> 15 16struct proc; 17 | 7 */ 8 9#ifndef _SVR4_SYSPROTO_H_ 10#define _SVR4_SYSPROTO_H_ 11 12#include <sys/signal.h> 13 14#include <sys/acl.h> 15 16struct proc; 17 |
18struct thread; 19 |
|
18#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 19 0 : sizeof(register_t) - sizeof(t)) 20 21struct svr4_sys_open_args { 22 char * path; char path_[PAD_(char *)]; 23 int flags; char flags_[PAD_(int)]; 24 int mode; char mode_[PAD_(int)]; 25}; --- 350 unchanged lines hidden (view full) --- 376struct svr4_sys_sendto_args { 377 int s; char s_[PAD_(int)]; 378 void * buf; char buf_[PAD_(void *)]; 379 size_t len; char len_[PAD_(size_t)]; 380 int flags; char flags_[PAD_(int)]; 381 struct sockaddr * to; char to_[PAD_(struct sockaddr *)]; 382 int tolen; char tolen_[PAD_(int)]; 383}; | 20#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 21 0 : sizeof(register_t) - sizeof(t)) 22 23struct svr4_sys_open_args { 24 char * path; char path_[PAD_(char *)]; 25 int flags; char flags_[PAD_(int)]; 26 int mode; char mode_[PAD_(int)]; 27}; --- 350 unchanged lines hidden (view full) --- 378struct svr4_sys_sendto_args { 379 int s; char s_[PAD_(int)]; 380 void * buf; char buf_[PAD_(void *)]; 381 size_t len; char len_[PAD_(size_t)]; 382 int flags; char flags_[PAD_(int)]; 383 struct sockaddr * to; char to_[PAD_(struct sockaddr *)]; 384 int tolen; char tolen_[PAD_(int)]; 385}; |
384int svr4_sys_open __P((struct proc *, struct svr4_sys_open_args *)); 385int svr4_sys_wait __P((struct proc *, struct svr4_sys_wait_args *)); 386int svr4_sys_creat __P((struct proc *, struct svr4_sys_creat_args *)); 387int svr4_sys_execv __P((struct proc *, struct svr4_sys_execv_args *)); 388int svr4_sys_time __P((struct proc *, struct svr4_sys_time_args *)); 389int svr4_sys_mknod __P((struct proc *, struct svr4_sys_mknod_args *)); 390int svr4_sys_break __P((struct proc *, struct svr4_sys_break_args *)); 391int svr4_sys_stat __P((struct proc *, struct svr4_sys_stat_args *)); 392int svr4_sys_alarm __P((struct proc *, struct svr4_sys_alarm_args *)); 393int svr4_sys_fstat __P((struct proc *, struct svr4_sys_fstat_args *)); 394int svr4_sys_pause __P((struct proc *, struct svr4_sys_pause_args *)); 395int svr4_sys_utime __P((struct proc *, struct svr4_sys_utime_args *)); 396int svr4_sys_access __P((struct proc *, struct svr4_sys_access_args *)); 397int svr4_sys_nice __P((struct proc *, struct svr4_sys_nice_args *)); 398int svr4_sys_kill __P((struct proc *, struct svr4_sys_kill_args *)); 399int svr4_sys_pgrpsys __P((struct proc *, struct svr4_sys_pgrpsys_args *)); 400int svr4_sys_times __P((struct proc *, struct svr4_sys_times_args *)); 401int svr4_sys_signal __P((struct proc *, struct svr4_sys_signal_args *)); | 386int svr4_sys_open __P((struct thread *, struct svr4_sys_open_args *)); 387int svr4_sys_wait __P((struct thread *, struct svr4_sys_wait_args *)); 388int svr4_sys_creat __P((struct thread *, struct svr4_sys_creat_args *)); 389int svr4_sys_execv __P((struct thread *, struct svr4_sys_execv_args *)); 390int svr4_sys_time __P((struct thread *, struct svr4_sys_time_args *)); 391int svr4_sys_mknod __P((struct thread *, struct svr4_sys_mknod_args *)); 392int svr4_sys_break __P((struct thread *, struct svr4_sys_break_args *)); 393int svr4_sys_stat __P((struct thread *, struct svr4_sys_stat_args *)); 394int svr4_sys_alarm __P((struct thread *, struct svr4_sys_alarm_args *)); 395int svr4_sys_fstat __P((struct thread *, struct svr4_sys_fstat_args *)); 396int svr4_sys_pause __P((struct thread *, struct svr4_sys_pause_args *)); 397int svr4_sys_utime __P((struct thread *, struct svr4_sys_utime_args *)); 398int svr4_sys_access __P((struct thread *, struct svr4_sys_access_args *)); 399int svr4_sys_nice __P((struct thread *, struct svr4_sys_nice_args *)); 400int svr4_sys_kill __P((struct thread *, struct svr4_sys_kill_args *)); 401int svr4_sys_pgrpsys __P((struct thread *, struct svr4_sys_pgrpsys_args *)); 402int svr4_sys_times __P((struct thread *, struct svr4_sys_times_args *)); 403int svr4_sys_signal __P((struct thread *, struct svr4_sys_signal_args *)); |
402#if defined(NOTYET) | 404#if defined(NOTYET) |
403int svr4_sys_msgsys __P((struct proc *, struct svr4_sys_msgsys_args *)); | 405int svr4_sys_msgsys __P((struct thread *, struct svr4_sys_msgsys_args *)); |
404#else 405#endif | 406#else 407#endif |
406int svr4_sys_sysarch __P((struct proc *, struct svr4_sys_sysarch_args *)); 407int svr4_sys_ioctl __P((struct proc *, struct svr4_sys_ioctl_args *)); 408int svr4_sys_utssys __P((struct proc *, struct svr4_sys_utssys_args *)); 409int svr4_sys_execve __P((struct proc *, struct svr4_sys_execve_args *)); 410int svr4_sys_fcntl __P((struct proc *, struct svr4_sys_fcntl_args *)); 411int svr4_sys_ulimit __P((struct proc *, struct svr4_sys_ulimit_args *)); 412int svr4_sys_getdents __P((struct proc *, struct svr4_sys_getdents_args *)); 413int svr4_sys_getmsg __P((struct proc *, struct svr4_sys_getmsg_args *)); 414int svr4_sys_putmsg __P((struct proc *, struct svr4_sys_putmsg_args *)); 415int svr4_sys_poll __P((struct proc *, struct svr4_sys_poll_args *)); 416int svr4_sys_lstat __P((struct proc *, struct svr4_sys_lstat_args *)); 417int svr4_sys_sigprocmask __P((struct proc *, struct svr4_sys_sigprocmask_args *)); 418int svr4_sys_sigsuspend __P((struct proc *, struct svr4_sys_sigsuspend_args *)); 419int svr4_sys_sigaltstack __P((struct proc *, struct svr4_sys_sigaltstack_args *)); 420int svr4_sys_sigaction __P((struct proc *, struct svr4_sys_sigaction_args *)); 421int svr4_sys_sigpending __P((struct proc *, struct svr4_sys_sigpending_args *)); 422int svr4_sys_context __P((struct proc *, struct svr4_sys_context_args *)); 423int svr4_sys_statvfs __P((struct proc *, struct svr4_sys_statvfs_args *)); 424int svr4_sys_fstatvfs __P((struct proc *, struct svr4_sys_fstatvfs_args *)); 425int svr4_sys_waitsys __P((struct proc *, struct svr4_sys_waitsys_args *)); 426int svr4_sys_hrtsys __P((struct proc *, struct svr4_sys_hrtsys_args *)); 427int svr4_sys_pathconf __P((struct proc *, struct svr4_sys_pathconf_args *)); 428int svr4_sys_mmap __P((struct proc *, struct svr4_sys_mmap_args *)); 429int svr4_sys_fpathconf __P((struct proc *, struct svr4_sys_fpathconf_args *)); 430int svr4_sys_xstat __P((struct proc *, struct svr4_sys_xstat_args *)); 431int svr4_sys_lxstat __P((struct proc *, struct svr4_sys_lxstat_args *)); 432int svr4_sys_fxstat __P((struct proc *, struct svr4_sys_fxstat_args *)); 433int svr4_sys_xmknod __P((struct proc *, struct svr4_sys_xmknod_args *)); 434int svr4_sys_setrlimit __P((struct proc *, struct svr4_sys_setrlimit_args *)); 435int svr4_sys_getrlimit __P((struct proc *, struct svr4_sys_getrlimit_args *)); 436int svr4_sys_memcntl __P((struct proc *, struct svr4_sys_memcntl_args *)); 437int svr4_sys_uname __P((struct proc *, struct svr4_sys_uname_args *)); 438int svr4_sys_sysconfig __P((struct proc *, struct svr4_sys_sysconfig_args *)); 439int svr4_sys_systeminfo __P((struct proc *, struct svr4_sys_systeminfo_args *)); 440int svr4_sys_fchroot __P((struct proc *, struct svr4_sys_fchroot_args *)); 441int svr4_sys_utimes __P((struct proc *, struct svr4_sys_utimes_args *)); 442int svr4_sys_vhangup __P((struct proc *, struct svr4_sys_vhangup_args *)); 443int svr4_sys_gettimeofday __P((struct proc *, struct svr4_sys_gettimeofday_args *)); 444int svr4_sys_llseek __P((struct proc *, struct svr4_sys_llseek_args *)); 445int svr4_sys_acl __P((struct proc *, struct svr4_sys_acl_args *)); 446int svr4_sys_auditsys __P((struct proc *, struct svr4_sys_auditsys_args *)); 447int svr4_sys_facl __P((struct proc *, struct svr4_sys_facl_args *)); 448int svr4_sys_resolvepath __P((struct proc *, struct svr4_sys_resolvepath_args *)); 449int svr4_sys_getdents64 __P((struct proc *, struct svr4_sys_getdents64_args *)); 450int svr4_sys_mmap64 __P((struct proc *, struct svr4_sys_mmap64_args *)); 451int svr4_sys_stat64 __P((struct proc *, struct svr4_sys_stat64_args *)); 452int svr4_sys_lstat64 __P((struct proc *, struct svr4_sys_lstat64_args *)); 453int svr4_sys_fstat64 __P((struct proc *, struct svr4_sys_fstat64_args *)); 454int svr4_sys_statvfs64 __P((struct proc *, struct svr4_sys_statvfs64_args *)); 455int svr4_sys_fstatvfs64 __P((struct proc *, struct svr4_sys_fstatvfs64_args *)); 456int svr4_sys_setrlimit64 __P((struct proc *, struct svr4_sys_setrlimit64_args *)); 457int svr4_sys_getrlimit64 __P((struct proc *, struct svr4_sys_getrlimit64_args *)); 458int svr4_sys_creat64 __P((struct proc *, struct svr4_sys_creat64_args *)); 459int svr4_sys_open64 __P((struct proc *, struct svr4_sys_open64_args *)); 460int svr4_sys_socket __P((struct proc *, struct svr4_sys_socket_args *)); 461int svr4_sys_recv __P((struct proc *, struct svr4_sys_recv_args *)); 462int svr4_sys_send __P((struct proc *, struct svr4_sys_send_args *)); 463int svr4_sys_sendto __P((struct proc *, struct svr4_sys_sendto_args *)); | 408int svr4_sys_sysarch __P((struct thread *, struct svr4_sys_sysarch_args *)); 409int svr4_sys_ioctl __P((struct thread *, struct svr4_sys_ioctl_args *)); 410int svr4_sys_utssys __P((struct thread *, struct svr4_sys_utssys_args *)); 411int svr4_sys_execve __P((struct thread *, struct svr4_sys_execve_args *)); 412int svr4_sys_fcntl __P((struct thread *, struct svr4_sys_fcntl_args *)); 413int svr4_sys_ulimit __P((struct thread *, struct svr4_sys_ulimit_args *)); 414int svr4_sys_getdents __P((struct thread *, struct svr4_sys_getdents_args *)); 415int svr4_sys_getmsg __P((struct thread *, struct svr4_sys_getmsg_args *)); 416int svr4_sys_putmsg __P((struct thread *, struct svr4_sys_putmsg_args *)); 417int svr4_sys_poll __P((struct thread *, struct svr4_sys_poll_args *)); 418int svr4_sys_lstat __P((struct thread *, struct svr4_sys_lstat_args *)); 419int svr4_sys_sigprocmask __P((struct thread *, struct svr4_sys_sigprocmask_args *)); 420int svr4_sys_sigsuspend __P((struct thread *, struct svr4_sys_sigsuspend_args *)); 421int svr4_sys_sigaltstack __P((struct thread *, struct svr4_sys_sigaltstack_args *)); 422int svr4_sys_sigaction __P((struct thread *, struct svr4_sys_sigaction_args *)); 423int svr4_sys_sigpending __P((struct thread *, struct svr4_sys_sigpending_args *)); 424int svr4_sys_context __P((struct thread *, struct svr4_sys_context_args *)); 425int svr4_sys_statvfs __P((struct thread *, struct svr4_sys_statvfs_args *)); 426int svr4_sys_fstatvfs __P((struct thread *, struct svr4_sys_fstatvfs_args *)); 427int svr4_sys_waitsys __P((struct thread *, struct svr4_sys_waitsys_args *)); 428int svr4_sys_hrtsys __P((struct thread *, struct svr4_sys_hrtsys_args *)); 429int svr4_sys_pathconf __P((struct thread *, struct svr4_sys_pathconf_args *)); 430int svr4_sys_mmap __P((struct thread *, struct svr4_sys_mmap_args *)); 431int svr4_sys_fpathconf __P((struct thread *, struct svr4_sys_fpathconf_args *)); 432int svr4_sys_xstat __P((struct thread *, struct svr4_sys_xstat_args *)); 433int svr4_sys_lxstat __P((struct thread *, struct svr4_sys_lxstat_args *)); 434int svr4_sys_fxstat __P((struct thread *, struct svr4_sys_fxstat_args *)); 435int svr4_sys_xmknod __P((struct thread *, struct svr4_sys_xmknod_args *)); 436int svr4_sys_setrlimit __P((struct thread *, struct svr4_sys_setrlimit_args *)); 437int svr4_sys_getrlimit __P((struct thread *, struct svr4_sys_getrlimit_args *)); 438int svr4_sys_memcntl __P((struct thread *, struct svr4_sys_memcntl_args *)); 439int svr4_sys_uname __P((struct thread *, struct svr4_sys_uname_args *)); 440int svr4_sys_sysconfig __P((struct thread *, struct svr4_sys_sysconfig_args *)); 441int svr4_sys_systeminfo __P((struct thread *, struct svr4_sys_systeminfo_args *)); 442int svr4_sys_fchroot __P((struct thread *, struct svr4_sys_fchroot_args *)); 443int svr4_sys_utimes __P((struct thread *, struct svr4_sys_utimes_args *)); 444int svr4_sys_vhangup __P((struct thread *, struct svr4_sys_vhangup_args *)); 445int svr4_sys_gettimeofday __P((struct thread *, struct svr4_sys_gettimeofday_args *)); 446int svr4_sys_llseek __P((struct thread *, struct svr4_sys_llseek_args *)); 447int svr4_sys_acl __P((struct thread *, struct svr4_sys_acl_args *)); 448int svr4_sys_auditsys __P((struct thread *, struct svr4_sys_auditsys_args *)); 449int svr4_sys_facl __P((struct thread *, struct svr4_sys_facl_args *)); 450int svr4_sys_resolvepath __P((struct thread *, struct svr4_sys_resolvepath_args *)); 451int svr4_sys_getdents64 __P((struct thread *, struct svr4_sys_getdents64_args *)); 452int svr4_sys_mmap64 __P((struct thread *, struct svr4_sys_mmap64_args *)); 453int svr4_sys_stat64 __P((struct thread *, struct svr4_sys_stat64_args *)); 454int svr4_sys_lstat64 __P((struct thread *, struct svr4_sys_lstat64_args *)); 455int svr4_sys_fstat64 __P((struct thread *, struct svr4_sys_fstat64_args *)); 456int svr4_sys_statvfs64 __P((struct thread *, struct svr4_sys_statvfs64_args *)); 457int svr4_sys_fstatvfs64 __P((struct thread *, struct svr4_sys_fstatvfs64_args *)); 458int svr4_sys_setrlimit64 __P((struct thread *, struct svr4_sys_setrlimit64_args *)); 459int svr4_sys_getrlimit64 __P((struct thread *, struct svr4_sys_getrlimit64_args *)); 460int svr4_sys_creat64 __P((struct thread *, struct svr4_sys_creat64_args *)); 461int svr4_sys_open64 __P((struct thread *, struct svr4_sys_open64_args *)); 462int svr4_sys_socket __P((struct thread *, struct svr4_sys_socket_args *)); 463int svr4_sys_recv __P((struct thread *, struct svr4_sys_recv_args *)); 464int svr4_sys_send __P((struct thread *, struct svr4_sys_send_args *)); 465int svr4_sys_sendto __P((struct thread *, struct svr4_sys_sendto_args *)); |
464 465#ifdef COMPAT_43 466 467#if defined(NOTYET) 468#else 469#endif 470 471#endif /* COMPAT_43 */ 472 473#undef PAD_ 474 475#endif /* !_SVR4_SYSPROTO_H_ */ | 466 467#ifdef COMPAT_43 468 469#if defined(NOTYET) 470#else 471#endif 472 473#endif /* COMPAT_43 */ 474 475#undef PAD_ 476 477#endif /* !_SVR4_SYSPROTO_H_ */ |