getmachheaders man page on NeXTSTEP

Man page or keyword search:  
man Server   1419 pages
apropos Keyword Search (all sections)
Output format
NeXTSTEP logo
[printable version]


GETMACHHEADERS(3)					     GETMACHHEADERS(3)

NAME
       getmachheaders - get the Mach headers for the executable

SYNOPSIS
       #include <ldsyms.h>
       #include <sys/loader.h>

       struct mach_header **getmachheaders()

DESCRIPTION
       This  routine  returns  an  array  of  pointers	to  Mach  headers (the
       executable and the shared libraries)  in	 the  Mach  executable	it  is
       linked  into.   It  returns NULL if the malloc(3) it uses for the array
       fails.  The last entry in the array is zero.  It uses the  link	editor
       defined	symbol	_mh_execute_header  and	 just  looks  through the load
       commands.

SEE ALSO
       end(3), getsectbyname(3), getsegbyname(3)

NeXT Computer, Inc.		 March 1, 1989		     GETMACHHEADERS(3)
[top]

List of man pages available for NeXTSTEP

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