view src/lib/close-keep-errno.h @ 4011:323c09be5f00 HEAD

Moved dupliated close_save_errno() code to public close_keep_errno() function.
author Timo Sirainen <timo.sirainen@movial.fi>
date Tue, 14 Feb 2006 15:41:58 +0200
parents
children e4eb71ae8e96
line wrap: on
line source

#ifndef __CLOSE_KEEP_ERRNO_H
#define __CLOSE_KEEP_ERRNO_H

/* Close the file handle without changing errno. */
void close_keep_errno(int fd);

#endif