/* ISC license. */ #include #include int writevnclose_unsafe_internal (int fd, struct iovec const *v, unsigned int vlen, dev_t *dev, ino_t *ino, int dosync) { devino di ; if (!writevnclose_unsafe5(fd, v, vlen, dev || ino ? &di : 0, !!dosync)) return 0 ; if (dev) *dev = di.dev ; if (ino) *ino = di.ino ; return 1 ; }