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

#include <errno.h>
#include <skalibs/djbunix.h>

void lock_unx (int fd)
{
  int e = errno ;
  lock_un(fd) ;
  errno = e ;
}