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