| 290 | } |
| 291 | |
| 292 | int pipe(int pipefd[2]) { |
| 293 | // We'll use the same pipe size as Linux (64kb). |
| 294 | return _pipe(pipefd, 0x10000, O_NOINHERIT); |
| 295 | } |
| 296 | |
| 297 | // lrand48 is not available on Windows. We'll generate a pseudo-random |
| 298 | // value in the 0 - 2^31 range by calling rand twice. |