Returns the section with the given section name.
Returns the section structure of the given section in the given segment in the mach executable it is linked into.
___ void main() { import core.sys.darwin.mach.getsect; assert(getsectbyname("__TEXT", "__text")); } ___
the name of the segment
the name of the section
a pointer to the section structure or null if it doesn't exist
Returns the section with the given section name.
Returns the section structure of the given section in the given segment in the mach executable it is linked into.
___ void main() { import core.sys.darwin.mach.getsect; assert(getsectbyname("__TEXT", "__text")); } ___