def METHOD_NAME(src, dst):
    """Hard links ``src`` to ``dst``, returning 0 or errno.
    Note that the special errno ``ENOLINK`` will be returned if ``os.link`` isn't
    supported by the operating system.
    """
    if not hasattr(os, "link"):
        return ENOLINK
    link_errno = 0
    try:
        os.METHOD_NAME(src, dst)
    except OSError as e:
        link_errno = e.errno
    return link_errno