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

#include <skalibs/nonposix.h>
#include <fcntl.h>
#include <skalibs/djbunix.h>

int open_readcoe (char const *fn)
{
  return open2(fn, O_RDONLY | O_NONBLOCK | O_CLOEXEC) ;
}