mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 10:39:39 +02:00
+ more structures added to the openbsd structure checker file: utimbuf, flock,
tms, timezone, rusage, TRLimit and iovec git-svn-id: trunk@41877 -
This commit is contained in:
parent
8ff8c05b99
commit
924b4c6f10
@ -10,9 +10,17 @@
|
|||||||
@Pascal uses baseunix;
|
@Pascal uses baseunix;
|
||||||
@Pascal begin
|
@Pascal begin
|
||||||
|
|
||||||
|
@C #include <sys/types.h>
|
||||||
@C #include <sys/stat.h>
|
@C #include <sys/stat.h>
|
||||||
|
@C #include <sys/time.h>
|
||||||
|
@C #include <sys/times.h>
|
||||||
|
@C #include <sys/resource.h>
|
||||||
|
@C #include <sys/uio.h>
|
||||||
@C #include <dirent.h>
|
@C #include <dirent.h>
|
||||||
@C #include <poll.h>
|
@C #include <poll.h>
|
||||||
|
@C #include <utime.h>
|
||||||
|
@C #include <fcntl.h>
|
||||||
|
@C #include <unistd.h>
|
||||||
@C #include <stdio.h>
|
@C #include <stdio.h>
|
||||||
@C #include <stddef.h>
|
@C #include <stddef.h>
|
||||||
@C int main()
|
@C int main()
|
||||||
@ -54,6 +62,53 @@
|
|||||||
.events
|
.events
|
||||||
.revents
|
.revents
|
||||||
|
|
||||||
|
@record utimbuf,struct utimbuf
|
||||||
|
.actime
|
||||||
|
.modtime
|
||||||
|
|
||||||
|
@record flock,struct flock
|
||||||
|
.l_start
|
||||||
|
.l_len
|
||||||
|
.l_pid
|
||||||
|
.l_type
|
||||||
|
.l_whence
|
||||||
|
|
||||||
|
@record tms,struct tms
|
||||||
|
.tms_utime
|
||||||
|
.tms_stime
|
||||||
|
.tms_cutime
|
||||||
|
.tms_cstime
|
||||||
|
|
||||||
|
@record timezone,struct timezone
|
||||||
|
.tz_minuteswest
|
||||||
|
.tz_dsttime
|
||||||
|
|
||||||
|
@record rusage,struct rusage
|
||||||
|
.ru_utime
|
||||||
|
.ru_stime
|
||||||
|
.ru_maxrss
|
||||||
|
.ru_ixrss
|
||||||
|
.ru_idrss
|
||||||
|
.ru_isrss
|
||||||
|
.ru_minflt
|
||||||
|
.ru_majflt
|
||||||
|
.ru_nswap
|
||||||
|
.ru_inblock
|
||||||
|
.ru_oublock
|
||||||
|
.ru_msgsnd
|
||||||
|
.ru_msgrcv
|
||||||
|
.ru_nsignals
|
||||||
|
.ru_nvcsw
|
||||||
|
.ru_nivcsw
|
||||||
|
|
||||||
|
@record TRLimit,struct rlimit
|
||||||
|
.rlim_cur
|
||||||
|
.rlim_max
|
||||||
|
|
||||||
|
@record iovec,struct iovec
|
||||||
|
.iov_base
|
||||||
|
.iov_len
|
||||||
|
|
||||||
@C return 0;
|
@C return 0;
|
||||||
@C }
|
@C }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user