def _negative_signal_number(signame):
    """Return negative number to represent signal named `signame`.

    If signame is unknown, return -99.
    """
    try:
        import signal
        return -getattr(signal, signame)
    except AttributeError:
        return -99
