Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mig(1) — NEXTSTEP 4.0pr1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

MIG(1)  —  UNIX Programmer’s Manual

NAME

mig − Mach message interface generator

SYNOPSIS

mig [-qQvVrRtT] definitions-file
 

DESCRIPTION

MiG uses the interface definitions in the definitions-file and creates two C modules: subsystemUser.c and subsystemServer.c.  These modules implement the user and the server ends of a remote procedure call interface to the subsystem.  A header file subsystem.h is also generated that defines the external functions and can be included in any code using the user interface. 
 
The switches are:

-r,-R If -r, use msg_rcp().  If -R, use msg_send()/msg_receive() pairs.  The default is -r. 

-t,-T If -t, generate code for multi-threaded applications (not implemented yet).  If -T, generate code for single thread application.  The default is -T. 

-q,-Q If -q, warning statements will be suppressed.  If -Q, warning statements are printed.  The default is -Q. 

-v,-V If -v, all the types, routines and arguments are printed out as the are encountered.  If -V, the compilation is silent.  The default is -V. 

For additional documentation, see the chapter "The Mach Operating System" in the NEXTSTEP Operating System Software manual (this manual can be viewed on-line using the NeXT Digital Librarian). 
 

FILES

subsystem.h − the include file for the user routines
subsystemUser.c − the code for the user side of the interface
subsystemServer.c − the code for the server side of the interface
/NextDeveloper/Headers/mach/mig_errors.h − error codes generated by mig code

NeXT Computer, Inc.  —  January 17, 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026