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