X-Git-Url: http://nsz.repo.hu/git/?p=musl-tables;a=blobdiff_plain;f=sizeof.c;h=9447bb1b92b8bb8bbca7aad7d978d49ffc19a6df;hp=fee47e227a212065af01aa5639cd8e2b36205212;hb=HEAD;hpb=de4035ca705b5c7fd1ec69e56206487ef80f2a3a diff --git a/sizeof.c b/sizeof.c index fee47e2..9447bb1 100644 --- a/sizeof.c +++ b/sizeof.c @@ -1,17 +1,24 @@ #define _GNU_SOURCE 1 #define _LARGEFILE64_SOURCE 1 #define _FILE_OFFSET_BITS 64 +#define SYSLOG_NAMES 1 #include #include #include #include +#include +#include #include #include +#include #include +#include #include #include +#include #include +#include #include #include #include @@ -20,7 +27,7 @@ #include #include #include -//#include +#include #include #include #include @@ -29,30 +36,33 @@ #include #include #include +#include #include #include #include +#include #include #include #include -#include -#include -#include -#include -#include +#include #include #include #include +#include #include +#include #include #include #include #include #include #include +#include #include #include +#include #include +#include #include #include #include @@ -68,12 +78,16 @@ #include #include #include +#include +#include +#include #include #include #include #include #include #include +//#include #include #include #include @@ -81,48 +95,65 @@ #include #include #include +//#include #include #include #include +#include +//#include +#include #include +//#include #include +#include +//#include #include +#include #include +//#include #include #include -#include +//#include #include #include #include #include +#include #include -#include +#include +//#include #include #include #include +#include #include -#include +//#include #include #include #include #include #include +//#include #include #include -#include +//#include #include #include #include #include #include #include -#include +//#include #include #include #include +//#include #include +#include +#include #include #include +#include #include #include #include @@ -130,12 +161,15 @@ #include #include #include -#include +//#include #include +#include +#include #include #include #include #include +#include #include #include #include @@ -143,14 +177,17 @@ #include #include #include +#include +//#include #include #include #include #define p(x) printf("%s\t%u\n", #x, sizeof(x)); int main(){ p(ACTION) -//p(CODE) +p(CODE) //p(DIR) +p(Dl_info) p(ENTRY) p(Elf32_Addr) p(Elf32_Conflict) @@ -207,24 +244,31 @@ p(Elf64_Xword) p(Elf64_auxv_t) p(Elf_Options) p(Elf_Options_Hw) +p(Elf_Symndx) //p(FILE) p(HEADER) +p(Sg_io_hdr) +//p(Sg_io_vec) +p(Sg_req_info) +p(Sg_scsi_id) p(VISIT) -p(__uint16_t) -p(__uint32_t) -p(__uint64_t) +p(_Bool) +//p(__isoc_va_list) +p(__jmp_buf) p(blkcnt_t) p(blksize_t) -p(bool) p(caddr_t) p(cc_t) p(clock_t) p(clockid_t) +p(comp_t) +p(cpu_set_t) p(dev_t) p(div_t) +p(double) +p(double_t) p(elf_fpregset_t) -p(elf_fpregset_t) -p(elf_fpxregset_t) +//p(elf_fpxregset_t) p(elf_greg_t) p(elf_gregset_t) p(epoll_data_t) @@ -233,12 +277,17 @@ p(fd_mask) p(fd_set) p(fenv_t) p(fexcept_t) +p(float) +p(float_t) p(fpos_t) +p(fpregset_t) p(fsblkcnt_t) p(fsfilcnt_t) p(fsid_t) p(gid_t) p(glob_t) +p(greg_t) +p(gregset_t) p(iconv_t) p(id_t) p(idtype_t) @@ -246,6 +295,7 @@ p(imaxdiv_t) p(in_addr_t) p(in_port_t) p(ino_t) +p(int) p(int16_t) p(int32_t) p(int64_t) @@ -265,6 +315,9 @@ p(key_t) p(ldiv_t) p(lldiv_t) p(locale_t) +p(long) +p(long double) +p(long long) p(lwpid_t) p(mbstate_t) p(mcontext_t) @@ -272,6 +325,9 @@ p(mode_t) p(mqd_t) p(msglen_t) p(msgqnum_t) +p(n_long) +p(n_short) +p(n_time) p(nfds_t) p(nl_catd) p(nl_item) @@ -320,9 +376,14 @@ p(regoff_t) p(res_state) p(rlim_t) p(sa_family_t) -p(scrnmap_t) p(sem_t) +p(sg_io_hdr_t) +p(sg_iovec_t) +p(sg_req_info_t) +p(shmatt_t) +p(short) p(sig_atomic_t) +p(sig_t) p(sighandler_t) p(siginfo_t) p(sigjmp_buf) @@ -334,46 +395,52 @@ p(ssize_t) p(stack_t) p(struct FTW) //p(struct __CODE) -//p(struct __fpstate) +//p(struct __fsid_t) +p(struct __jmp_buf_tag) +//p(struct __mbstate_t) p(struct __ns_msg) p(struct __ns_rr) //p(struct __ptcb) p(struct __res_state) -//p(struct __siginfo) +//p(struct __sigset_t) //p(struct __ucontext) +//p(struct _fpstate) p(struct _ns_flagdata) +p(struct acct) +p(struct acct_v3) p(struct addrinfo) p(struct aiocb) +p(struct ar_hdr) p(struct arpd_request) p(struct arphdr) p(struct arpreq) p(struct arpreq_old) p(struct bandinfo) +p(struct ccs_modesel_head) p(struct cmsghdr) -p(struct console_font_op) -p(struct consolefontdesc) +//p(struct cpu_set_t) +p(struct crypt_data) p(struct dirent) +p(struct dl_phdr_info) +p(struct dqblk) +p(struct dqinfo) p(struct elf_prpsinfo) p(struct elf_prstatus) p(struct elf_siginfo) +p(struct entry) p(struct epoll_event) p(struct ether_addr) p(struct ether_arp) p(struct ether_header) p(struct ethhdr) -p(struct fb_bitfield) -p(struct fb_cmap) -p(struct fb_con2fbmap) -p(struct fb_copyarea) -p(struct fb_cursor) -p(struct fb_fillrect) -p(struct fb_fix_screeninfo) -p(struct fb_image) -p(struct fb_var_screeninfo) -p(struct fb_vblank) -p(struct fbcurpos) +p(struct f_owner_ex) +p(struct fanotify_event_metadata) +p(struct fanotify_response) p(struct flock) p(struct group) +p(struct group_filter) +p(struct group_req) +p(struct group_source_req) p(struct hostent) p(struct icmp) p(struct icmp6_filter) @@ -383,14 +450,15 @@ p(struct icmp_ra_addr) p(struct icmphdr) p(struct if_nameindex) p(struct ifaddr) +p(struct ifaddrs) p(struct ifconf) p(struct ifmap) p(struct ifreq) +p(struct igmp) p(struct ih_idseq) p(struct ih_pmtu) p(struct ih_rtradv) p(struct in6_addr) -//p(struct in6_mutinfo) p(struct in6_pktinfo) p(struct in6_rtmsg) p(struct in_addr) @@ -404,6 +472,7 @@ p(struct ip6_frag) p(struct ip6_hbh) p(struct ip6_hdr) p(struct ip6_hdrctl) +p(struct ip6_mtuinfo) p(struct ip6_opt) p(struct ip6_opt_jumbo) p(struct ip6_opt_nsap) @@ -412,7 +481,9 @@ p(struct ip6_opt_tunnel) p(struct ip6_rthdr) p(struct ip6_rthdr0) p(struct ip_mreq) +p(struct ip_mreq_source) p(struct ip_mreqn) +p(struct ip_msfilter) p(struct ip_opts) p(struct ip_timestamp) p(struct ipc_perm) @@ -420,22 +491,22 @@ p(struct iphdr) p(struct ipv6_mreq) p(struct itimerspec) p(struct itimerval) -p(struct kbd_repeat) -p(struct kbdiacr) -p(struct kbdiacrs) -p(struct kbentry) -p(struct kbkeycode) -p(struct kbsentry) +p(struct lastlog) p(struct lconv) p(struct linger) -p(struct loop_info) -p(struct loop_info64) +p(struct link_map) p(struct mld_hdr) p(struct mntent) p(struct mq_attr) +p(struct msgbuf) p(struct msghdr) p(struct msginfo) p(struct msqid_ds) +p(struct mt_tape_info) +p(struct mtconfiginfo) +p(struct mtget) +p(struct mtop) +p(struct mtpos) p(struct nd_neighbor_advert) p(struct nd_neighbor_solicit) p(struct nd_opt_adv_interval) @@ -448,14 +519,18 @@ p(struct nd_redirect) p(struct nd_router_advert) p(struct nd_router_solicit) p(struct netent) -//p(struct npttimeval) p(struct ns_tcp_tsig_state) p(struct ns_tsig_key) +p(struct ntptimeval) p(struct option) p(struct packet_mreq) p(struct passwd) p(struct pollfd) p(struct protoent) +//p(struct ptrace_peeksiginfo_args) +p(struct qelem) +p(struct r_debug) +p(struct re_pattern_buffer) p(struct res_sym) p(struct rlimit) p(struct rr_pco_match) @@ -468,10 +543,16 @@ p(struct sembuf) p(struct semid_ds) p(struct seminfo) p(struct servent) +p(struct sg_header) +p(struct sg_io_hdr) +p(struct sg_iovec) +p(struct sg_req_info) +p(struct sg_scsi_id) p(struct shm_info) p(struct shmid_ds) p(struct shminfo) p(struct sigaction) +p(struct sigaltstack) p(struct sigcontext) p(struct sigevent) p(struct signalfd_siginfo) @@ -493,7 +574,12 @@ p(struct strioctl) p(struct strpeek) p(struct strrecvfd) p(struct sysinfo) +p(struct tcp_info) +p(struct tcp_md5sig) +p(struct tcphdr) p(struct termios) +p(struct tftphdr) +p(struct timeb) p(struct timespec) p(struct timestamp) p(struct timeval) @@ -503,20 +589,13 @@ p(struct tm) p(struct tms) p(struct ucred) p(struct udphdr) -p(struct unimapdesc) -p(struct unimapinit) -p(struct unipair) p(struct user) p(struct user_fpregs_struct) -p(struct user_fpxregs_struct) +//p(struct user_fpxregs_struct) p(struct user_regs_struct) p(struct utimbuf) p(struct utmpx) p(struct utsname) -p(struct vt_consize) -p(struct vt_mode) -p(struct vt_sizes) -p(struct vt_stat) p(struct winsize) p(suseconds_t) p(tcflag_t) @@ -549,14 +628,16 @@ p(uint_least8_t) p(uintmax_t) p(uintptr_t) p(ulong) +//p(union _G_fpos64_t) p(union epoll_data) p(union sigval) +p(useconds_t) p(ushort) p(va_list) -p(va_list) +p(void*) +p(wchar_t) p(wctrans_t) p(wctype_t) p(wint_t) p(wordexp_t) -p(wchar_t) return 0;}