Exemplo n.º 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))
Exemplo n.º 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))