comparison dbutil.c @ 109:2e9d1f29c50f

merge of 50be59810e462f9f44f55e421227d6aa0b31982b and 69b007796063cb5f042be7cca2d479e90db869c3
author Matt Johnston <matt@ucc.asn.au>
date Fri, 27 Aug 2004 14:39:01 +0000
parents 10f4d3319780
children e0acad552a92
comparison
equal deleted inserted replaced
108:10f4d3319780 109:2e9d1f29c50f
593 while (len--) { 593 while (len--) {
594 *p++ = 0x66; 594 *p++ = 0x66;
595 } 595 }
596 } 596 }
597 597
598
599 void setnonblocking(int fd) {
600
601 TRACE(("setnonblocking: %d", fd));
602
603 if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) {
604 dropbear_exit("Couldn't set nonblocking");
605 }
606 TRACE(("leave setnonblocking"));
607 }