* pqReadReady: is select() saying the file is ready to read? * Returns -1 on failure, 0 if not ready, 1 if ready. */
| 1128 | * Returns -1 on failure, 0 if not ready, 1 if ready. |
| 1129 | */ |
| 1130 | int |
| 1131 | pqReadReady(PGconn *conn) |
| 1132 | { |
| 1133 | return pqSocketCheck(conn, 1, 0, (time_t) 0); |
| 1134 | } |
| 1135 | |
| 1136 | /* |
| 1137 | * pqWriteReady: is select() saying the file is ready to write? |
no test coverage detected