1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-05-13 15:13:36 +00:00

xnanosleep: Improve module description.

* modules/xnanosleep (Description): Improve.
* lib/xnanosleep.h: Add comment. Make includable from C++.
* lib/xnanosleep.c: Update comment.
This commit is contained in:
Bruno Haible
2021-06-15 13:14:58 +02:00
parent 8275fa2ec5
commit d2d3a61961
4 changed files with 19 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
2021-06-15 Bruno Haible <bruno@clisp.org>
xnanosleep: Improve module description.
* modules/xnanosleep (Description): Improve.
* lib/xnanosleep.h: Add comment. Make includable from C++.
* lib/xnanosleep.c: Update comment.
2021-06-15 Bruno Haible <bruno@clisp.org>
xfreopen: Improve module description.

View File

@@ -1,4 +1,4 @@
/* xnanosleep.c -- a more convenient interface to nanosleep
/* A variant of nanosleep that takes a 'double' argument and handles EINTR.
Copyright (C) 2002-2007, 2009-2021 Free Software Foundation, Inc.

View File

@@ -1,4 +1,5 @@
/* Copyright (C) 2004-2021 Free Software Foundation, Inc.
/* A variant of nanosleep that takes a 'double' argument and handles EINTR.
Copyright (C) 2004-2021 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@ -13,4 +14,12 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. */
#ifdef __cplusplus
extern "C" {
#endif
int xnanosleep (double);
#ifdef __cplusplus
}
#endif

View File

@@ -1,5 +1,5 @@
Description:
a more convenient interface to nanosleep
A variant of nanosleep that takes a 'double' argument and handles EINTR.
Files:
lib/xnanosleep.h