MKSINIT(1M) SysV MKSINIT(1M)
NAME
mksinit - Create VSTREAMS module/driver initialization code
SYNOPSIS
mksinit [-C [number]+] [master.d_file]+
DESCRIPTION
mksinit is a tool to create the Apollo-implementation-dependent
initialization code for VSTREAMS drivers and modules. The input to
mksinit is a set of master.d files (see master.d(4)). The output of
mksinit is an init.c file in the current directory, which must be
compiled and linked with the module. The entry point of the module must
be the mksinit routine in init.c.
The following options are provided:
-C numbers provides the number of controllers for the modules'
master.d files processed. Each number corresponds in the
order specified to one of the master.d files.
EXAMPLES
The following is a sample module build :
/sys/vstreams/utils/mksinit master.d/sample*
/bin/cc -c init.c
/bin/ld -e mksinit init.o <other module objects>
FILES
SEE ALSO
master.d(4) in the SysV Programmer's Reference