libcutils/mq.c
static void closeWithWarning(int fd) {
    int result = close(fd);
    if (result == -1) {
        LOGW("close() error: %s", strerror(errno));
    }
}
/** Closes a fd and logs a warning if the close fails. */
Closes a fd and logs a warning if the close fails.
Closes a fd and logs a warning if the close fails .
static void closeWithWarning(int fd) {
    int result = close(fd);
    if (result == -1) {
        LOGW("close() error: %s", strerror(errno));
    }
}
static void closeWithWarning ( int fd ) { int result = close ( fd ) ; if ( result == -1 ) { LOGW ( " " , strerror ( errno ) ) ; } }
Closes a fd and logs a warning if the close fails.
Closes a fd and logs a warning if the close fails .