Beispiel #1
0
def cmd(send, msg, args):
    """Return either a random value or the specified one from errno.h.
    Syntax: !errno <errorcode|list>
    """
    send(parse_header('errno', msg))
Beispiel #2
0
def cmd(send, msg, _):
    """Return either a random value or the specified one from signal.h.
    Syntax: {command} <signal|list>
    """
    send(parse_header('signal', msg))