MOUNT(2)
NAME
mount − add a prefix mapping to the namespace
SYNOPSIS
int mount(prefix, dev, replace)
char ∗prefix;
int dev;
char ∗replace;
DESCRIPTION
Mount adds a prefix mapping to the syntactic namespace, inserting it just prior to the last entry. Argument prefix points to a string that contains a null-terminated prefix string, argument dev gives the device id of the device to which the prefix maps, and argument replace points to a null-terminated replacement string. As a special case, dev can specify the value SYSERR to indicate that names matching the prefix cannot be mapped or accessed.
If the namespace table is full, or if the specified prefix or replacement strings exceed the allowed size, mount returns SYSERR. Otherwise it returns OK.
SEE ALSO
open(2), nammap(2), namrepl(2), unmount(2), namespace(4)
December 01, 1986 — Xinu Programmer’s Manual