Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

elf64_fsize(3elf) [mojave man page]

elf32_fsize(3ELF)					       ELF Library Functions						 elf32_fsize(3ELF)

NAME
elf32_fsize, elf64_fsize - return the size of an object file type SYNOPSIS
cc [ flag ... ] file ... -lelf [ library ... ] #include <libelf.h> size_t elf32_fsize(Elf_Type type, size_t count, unsigned ver); size_t elf64_fsize(Elf_Type type, size_t count, unsigned ver); DESCRIPTION
elf32_fsize() gives the size in bytes of the 32-bit file representation of count data objects with the given type. The library uses version ver to calculate the size. See elf(3ELF) and elf_version(3ELF). Constant values are available for the sizes of fundamental types: Elf_Type File Size Memory Size ELF_T_ADDR ELF32_FSZ_ADDR sizeof(Elf32_Addr) ELF_T_BYTE 1 sizeof(unsigned char) ELF_T_HALF ELF32_FSZ_HALF sizeof(Elf32_Half) ELT_T_OFF ELF32_FSZ_OFF sizeof(Elf32_Off) ELF_T_SWORD ELF32_FSZ_SWORD sizeof(Elf32_Sword) ELF_T_WORD ELF32_FSZ_WORD sizeof(Elf32_Word) elf32_fsize() returns 0 if the value of type or ver is unknown. See elf32_xlatetof(3ELF) for a list of the type values. For the 64-bit class, replace 32 with 64 as appropriate. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
elf(3ELF), elf32_xlatetof(3ELF), elf_version(3ELF), libelf(3LIB), attributes(5) SunOS 5.10 11 Jul 2001 elf32_fsize(3ELF)

Check Out this Related Man Page

elf_fsize(3E)															     elf_fsize(3E)

NAME
elf32_fsize, elf64_fsize - return the size of an object file type for elf32 files, return the size of an object file type for elf64 files, respectively. SYNOPSIS
[flag... ] file... [library] ... DESCRIPTION
gives the size in bytes of the 32-bit file representation of count data objects with the given type. The library uses version ver to cal- culate the size (see elf(3E) and elf_version(3E)). Constant values are available for the sizes of fundamental types. Elf_Type File Size Memory Size ------------------------------------------------------ ELF_T_ADDR ELF32_FSZ_ADDR sizeof(Elf32_Addr) ELF_T_BYTE 1 sizeof(unsigned char) ELF_T_HALF ELF32_FSZ_HALF sizeof(Elf32_Half) ELT_T_OFF ELF32_FSZ_OFF sizeof(Elf32_Off) ELF_T_SWORD ELF32_FSZ_SWORD sizeof(Elf32_Sword) ELF_T_WORD ELF32_FSZ_WORD sizeof(Elf32_Word) returns zero if the value of type or ver is unknown. See elf_xlate(3E) for a list of the type values. gives the size in bytes of the 64-bit file representation of count data objects with the given type. The library uses version ver to cal- culate the size (see elf(3E) and elf_version(3E)). Constant values are available for the sizes of fundamental types. Elf_Type File Size Memory Size ------------------------------------------------------ ELF_T_ADDR ELF64_FSZ_ADDR sizeof(Elf64_Addr) ELF_T_BYTE 1 sizeof(unsigned char) ELF_T_HALF ELF64_FSZ_HALF sizeof(Elf64_Half) ELT_T_OFF ELF64_FSZ_OFF sizeof(Elf64_Off) ELF_T_SWORD ELF64_FSZ_SWORD sizeof(Elf64_Sword) ELF_T_WORD ELF64_FSZ_WORD sizeof(Elf64_Word) returns zero if the value of type or ver is unknown. See elf_xlate(3E) for a list of the type values. SEE ALSO
elf(3E), elf_version(3E), elf_xlate(3E). elf_fsize(3E)
Man Page

11 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Split large xml into mutiple files and with header and footer in file

Split large xml into mutiple files and with header and footer in file tried below it splits unevenly and also i need help in adding header and footer command : csplit -s -k -f my_XML_split.xml extrfile.xml "/<Document>/" {1} sample xml <?xml version="1.0" encoding="UTF-8"?><Recipient>... (36 Replies)
Discussion started by: karthik
36 Replies

2. What is on Your Mind?

Instructions to Clear Data Cache in Safari, Chrome, Firefox, Opera Browsers (Pictures)

Here are instructions to clear the data cache for four browsers, Safari, Chrome, Firefox, Opera. In these examples I'm using MacOS Mojave, but it should be similar for any OS. You can use these instructions to to clear and reload the cache if you have any issues with the Vue.js UserCP (current... (1 Reply)
Discussion started by: Neo
1 Replies

3. OS X (Apple)

12-Core MacPro (2013) kernel_task over 1200%

Yesterday someone asked me to install TeamViewer and share my Mac screen with them while on a conference call. I shut down my Mac before sleeping and woke up to some major problem with my 12-core CPU in hyperdrive, and the system activity monitor showed my Mac kernel_task was at 1,200% and the... (30 Replies)
Discussion started by: Neo
30 Replies

4. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

5. UNIX for Beginners Questions & Answers

Cannot extract libraries using sed

Hi, I am attempting to extract the /lib/ paths using sed but it does not appear to work. ./copy_chroot_lib.sh ls echo | sed s#*\(/lib\).*#\1#g linux-vdso.so.1 (0x00007fff77df1000) libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f28190ac000) ... (8 Replies)
Discussion started by: sand1234
8 Replies

6. UNIX for Beginners Questions & Answers

UNIX tool on MacOS that can increase resolution of a file

hi, I am searching for a native tool on MacOS that can increase the resolution of a group of image files whose aspect ratios (file width versus height) vary widely. There are numerous files so I don't wish to do this manually. Someone suggested the sips command with the resampling option but... (5 Replies)
Discussion started by: Godtookapicture
5 Replies

7. Shell Programming and Scripting

Controlling user input

I'm trying to use a bash script for a psych experiment that involves listening to sound files and responding. If I have something like the code below, how can I make sure that a key press is assigned to RESPONSE only after the second echo statement? for i in 1 2 3; do echo "Ready?" sleep 2 ... (10 Replies)
Discussion started by: darwin_886
10 Replies

8. Programming

My first PERL incarnation... Audio Oscillograph

Hi all... Well guys and gals, I jumped in at the deep end and found things that PERL cannot do by default. Many tricky terminal escape codes are not catered for so I had to create workarounds. One thing I searched for was this: Passing perl variable to shell command AND, @Neo this was... (15 Replies)
Discussion started by: wisecracker
15 Replies

9. News, Links, Events and Announcements

Python 3.8.0rc1 released.

Python 3.8.0rc1 released today, 1st October 2019... Just tried it out testing my AMIGA Python 1.4.0 code inside it and all are working, I can now test to the latest Python incarnation now. Subjective opinion is that is seems seriously quick on my OSX 10.14.6, latest Mojave update. Python... (0 Replies)
Discussion started by: wisecracker
0 Replies

10. UNIX for Beginners Questions & Answers

[BASH] eval command not expanding variables as expected.

Hi Guys, I wrote a collection of bash functions years ago and now need to use them again but I'm getting some error messages when eval tries to expand the variables names. I recollect that I used the shopt command to set one of the options but I can't quite remember the command that I... (8 Replies)
Discussion started by: ASGR
8 Replies

11. OS X (Apple)

How can I direct messages from mac console.app to a log file?

I'm trying to complete a bash script to capture if an external webcam is active in a video conference session. Some users will switch the camera to the built-in MAC camera. When this happens I want to trigger a set of events. Things tried: reviewed the console.app to look for patterns on when... (6 Replies)
Discussion started by: dallas88
6 Replies