openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/dbus/1.12.16-r0/dbus-1.12.16/dbus/dbus-sysdeps-unix.c
dbus_bool_t _dbus_close(int fd, DBusError* error)
{
    _DBUS_ASSERT_ERROR_IS_CLEAR(error);

again:
    if (close(fd) < 0)
    {
        if (errno == EINTR)
            goto again;

        dbus_set_error(error, _dbus_error_from_errno(errno),
                       "Could not close fd %d", fd);
        return FALSE;
    }

    return TRUE;
}
/**
 * Closes a file descriptor.
 *
 * @param fd the file descriptor
 * @param error error object
 * @returns #FALSE if error set
 */
Closes a file descriptor.
@param fd the file descriptor
@param error error object
@returns #FALSE if error set
Closes a file descriptor . @param fd the file descriptor @param error error object @returns #FALSE if error set
dbus_bool_t _dbus_close(int fd, DBusError* error)
{
    _DBUS_ASSERT_ERROR_IS_CLEAR(error);
again:
    if (close(fd) < 0)
    {
        if (errno == EINTR)
            goto again;
        dbus_set_error(error, _dbus_error_from_errno(errno),
                       "Could not close fd %d", fd);
        return FALSE;
    }
    return TRUE;
}
dbus_bool_t _dbus_close ( int fd , DBusError * error ) { _DBUS_ASSERT_ERROR_IS_CLEAR ( error ) ; again : if ( close ( fd ) < 0 ) { if ( errno == EINTR ) goto again ; dbus_set_error ( error , _dbus_error_from_errno ( errno ) , " " , fd ) ; return FALSE ; } return TRUE ; }
Closes a file descriptor.
Closes a file descriptor .