summaryrefslogtreecommitdiff
path: root/src/libunixonacid/openwritenclose_tmp.c
blob: 5b3fe15db387e4f1df965f9f29445f888afb4b85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* ISC license. */

#include <sys/types.h>
#include <skalibs/types.h>
#include <skalibs/stralloc.h>
#include <skalibs/unix-transactional.h>

int openwritenclose_tmp (char const *fn, char const *s, size_t len, stralloc *tmp)
{
  dev_t dev ;
  ino_t ino ;
  return openwritenclose_devino_tmp(fn, s, len, &dev, &ino, tmp) ;
}