summaryrefslogtreecommitdiff
path: root/src/libstddjb/open_read.c
blob: cc1b191718e3c2b5c5740a64d37d77322de3204d (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_read (char const *fn)
{
  return open2(fn, O_RDONLY | O_NONBLOCK) ;
}