* pqWriteReady: is select() saying the file is ready to write? * Returns -1 on failure, 0 if not ready, 1 if ready. */
| 1138 | * Returns -1 on failure, 0 if not ready, 1 if ready. |
| 1139 | */ |
| 1140 | int |
| 1141 | pqWriteReady(PGconn *conn) |
| 1142 | { |
| 1143 | return pqSocketCheck(conn, 0, 1, (time_t) 0); |
| 1144 | } |
| 1145 | |
| 1146 | /* |
| 1147 | * Checks a socket, using poll or select, for data to be read, written, |
nothing calls this directly
no test coverage detected