COHERENT manpages

This page displays the COHERENT manpage for mtype() [Return symbolic machine type].

List of available manpages
Index


mtype() -- General Function (libc)

Return symbolic machine type
#include <mtype.h>
char *mtype(type)
int type;

mtype() takes an  integer machine type and returns the  address of a string
that contains  the symbolic name  of the machine.  The  header file mtype.h
defines the possible machine types.  For example,

    mtype(M_PDP11)

returns the address of the string PDP-11.

Files

<mtype.h>

See Also

libc

Diagnostics

mtype()  returns NULL  to indicate  that it doesn't  recognize the  type of
machine requested.