summaryrefslogtreecommitdiffstats
path: root/lib/libutil/imsg-buffer.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* in imsg_read() avoid calling recvmsg() if we detect that we will be shortgilles2012-06-021-15/+17
| | | | | | | | | | | | | on descriptors, this can be achieved thanks to the new getdtablecount() system call. application may provide a reserve count to ensure that the recvmsg() call is not called when they don't have enough descriptors to work properly. change the API so that transient errors that can be retried immediately are retried within the function right away, whereas transient errors for which the application may want to take action will set errno to EAGAIN. ok deraadt@ and henning@
* Move imsg into libutil and add a man page.nicm2010-05-261-0/+303
Minor bump for libutil. Previous versions of this diff and man page looked at by various people. "you should just commit" deraadt