This document explains how to add efunctions to the MudOS driver. Here are the steps:
int cat(string, void|int, void|int);
The second and third arguments of cat can either be void or int. Here 'void' means optional. Thus cat("xyz") is allowed as is cat("xyz",5,8); The return type of cat() is int.
If a function is to allow a variable number of arguments (vararg), you can declare with trailing elipses:
void call_out(string, int, ...);
call_out() does not return a value.