F$NMLink

From NitrOS-9
Jump to: navigation, search
Link to a module Links to a module; does not map the module into the user’s address space
OS9 F$NMLink 103F 21

Entry Conditions

A type / language byte

X address of the module name

Exit Conditions

A type / language code

B module revision

X address of the last byte of the module name + 1; any trailing blanks are skipped

Y storage requirement for the module

Error Output

CC carry set on error

B error code (if any)

Additional Information

  • Although this call is similar to F$Link, it does not map the specified module into the user’s address space but does return the memory requirement for the module. A calling process can use this memory requirement information to fork a program with a maximum amount of space. F$NMLink can therefore fork larger programs than can be forked by F$Link.

IOMan