chiark / gitweb /
Merge new Disobedience manual
[disorder] / lib / syscalls.h
index 7031eac7e3609e56afd4c5c48e6f655219a16ced..e45125a8473449666cf9b86058470a1c34421c7e 100644 (file)
@@ -15,7 +15,9 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-
+/** @file lib/syscalls.h
+ * @brief Error-checking library call wrappers
+ */
 #ifndef SYSCALLS_H
 #define SYSCALLS_H
 
@@ -46,6 +48,7 @@ int xprintf(const char *, ...)
 void xfclose(FILE *);
 int xnice(int);
 void xgettimeofday(struct timeval *, struct timezone *);
+time_t xtime(time_t *when);
 /* the above all call @fatal@ if the system call fails */
 
 void nonblock(int fd);