summaryrefslogtreecommitdiff
path: root/src/libnsss/nsss_unix_end.c
blob: 1d6b8671b1ffd1383f8b2d735e39484c80740422 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

#include <skalibs/buffer.h>
#include <skalibs/djbunix.h>
#include <nsss/nsss-unix.h>

void nsss_unix_end (nsss_unix_t *a)
{
  fd_close(buffer_fd(&a->b)) ;
  a->b.fd = -1 ;
}