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:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user