elf_getarhdr man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

elf_getarhdr(3E)					      elf_getarhdr(3E)

NAME
       elf_getarhdr - retrieve archive member header

SYNOPSIS
       [flag... ] file...  [library] ...

DESCRIPTION
       returns	a pointer to an archive member header, if one is available for
       the ELF descriptor elf.	Otherwise, no archive member header exists, an
       error occurred, or elf was null; then returns a null value.  The header
       includes the following members.

		       char	       *ar_name;
		       time_t	       ar_date;
		       long	       ar_uid;
		       long	       ar_gid;
		       unsigned long   ar_mode;
		       off_t	       ar_size;
		       char	       *ar_rawname;

       An archive member name, available through is a null-terminated  string,
       with  the  format control characters removed.  The member holds a null-
       terminated string that represents the original name bytes in the	 file,
       including the terminating slash and trailing blanks as specified in the
       archive format.

       In addition to ``regular'' archive members, the archive format  defines
       some special members.  All special member names begin with a slash dis‐
       tinguishing them from regular members (whose names may  not  contain  a
       slash).	These special members have the names defined below.

       This is the archive symbol table.  If present, it will
	      be  the  first archive member.  A program may access the archive
	      symbol table through The information in the symbol table is use‐
	      ful for random archive processing (see elf_rand(3E)).

       This member, if present, holds a string table for long
	      archive  member  names.	An  archive member's header contains a
	      16-byte area for the name, which may be exceeded	in  some  file
	      systems.	 The library automatically retrieves long member names
	      from the string table, setting to the appropriate value.

       Under some error conditions, a member's name might  not	be  available.
       Although	 this  causes the library to set to a null pointer, the member
       will be set as usual.

SEE ALSO
       ar(4), elf(3E), elf_begin(3E), elf_getarsym(3E), elf_rand(3E).

							      elf_getarhdr(3E)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net