summaryrefslogtreecommitdiff
path: root/src/libunixonacid/dd_close.c
blob: 74961a1236640d973b25d01ab789a45b84e9ddce (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_ref dd)
{
  return (fd_close(dd->fd) >= 0) ;
}