11 lines
201 B
C
11 lines
201 B
C
|
#include <lib.h>
|
||
|
#define mknod _mknod
|
||
|
|
||
|
PUBLIC int mknod(name, mode, addr)
|
||
|
char *name;
|
||
|
int mode, addr;
|
||
|
{
|
||
|
return(_callm1(FS, MKNOD, _len(name), mode, addr,
|
||
|
(char *) name, (char *) 0, NIL_PTR));
|
||
|
}
|