summaryrefslogtreecommitdiff
path: root/src/libunixonacid/dd_close.c
blob: ffe8b1e12227d10ab972dbb9d8def3430e7805a6 (plain)
1
2
3
4
5
6
7
8
9
/* ISC license. */

#include <skalibs/djbunix.h>
#include <skalibs/unix-transactional.h>

int dd_close (dirdescriptor_t *dd)
{
  return (fd_close(dd->fd) >= 0) ;
}