/* ISC license. */ #include #include int openwritenclose_suffix_internal (char const *fn, char const *s, size_t n, dev_t *dev, ino_t *ino, int dosync, char const *suffix) { devino di ; if (!openwritenclose_suffix6(fn, s, n, dev || ino ? &di : 0, !!dosync, suffix)) return 0 ; if (dev) *dev = di.dev ; if (ino) *ino = di.ino ; return 1 ; }