.TH mtype() "" "" "General Function (libc)"
.PC "Return symbolic machine type"
.B "#include <mtype.h>"
\fBchar *mtype(\fItype\^\fB)\fR
\fBint \fItype\^\fB;\fR
.PP
.B mtype()
takes an integer machine
.I type
and returns the address of
a string that contains the symbolic name of the machine.
The header file
.B mtype.h
defines the possible machine types.
For example,
.DM
	mtype(M_PDP11)
.DE
.PP
returns the address of the string \fBPDP-11\fR.
.SH Files
.B <mtype.h>
.SH "See Also"
.Xr "libc" libc
.SH Diagnostics
.B mtype()
returns NULL to indicate that it doesn't recognize the type
of machine requested.
