diff options
author | Bruno Haible <bruno@clisp.org> | 2019-09-15 18:56:46 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-09-15 18:56:46 +0200 |
commit | 265886a27c8bc637b1e1f3e85e68d594bbe5fa2c (patch) | |
tree | fe630991a74cdf68b24ca8754546b66178502930 /tests/test-unistd-c++.cc | |
parent | 7ed78c9f539e6981b7ba48ef2962d4364cbd37fc (diff) | |
download | gnulib-265886a27c8bc637b1e1f3e85e68d594bbe5fa2c.tar.gz |
access: New module.
* lib/unistd.in.h (access): New declaration.
* lib/access.c: New file.
* m4/access.m4: New file.
* m4/unistd_h.m4 (gl_UNISTD_H): Test whether access is declared.
(gl_UNISTD_H_DEFAULTS): Initialize GNULIB_ACCESS, REPLACE_ACCESS.
* modules/unistd (Makefile.am): Substitute GNULIB_ACCESS,
REPLACE_ACCESS.
* modules/access: New file.
* tests/test-unistd-c++.cc (access): Check signature.
* doc/posix-functions/access.texi: Mention the new module.
Diffstat (limited to 'tests/test-unistd-c++.cc')
-rw-r--r-- | tests/test-unistd-c++.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-unistd-c++.cc b/tests/test-unistd-c++.cc index e6a6952a5a..8ba7a044a7 100644 --- a/tests/test-unistd-c++.cc +++ b/tests/test-unistd-c++.cc @@ -24,6 +24,10 @@ #include "signature.h" +#if GNULIB_TEST_ACCESS +SIGNATURE_CHECK (GNULIB_NAMESPACE::access, int, (const char *, int)); +#endif + #if GNULIB_TEST_CHDIR SIGNATURE_CHECK (GNULIB_NAMESPACE::chdir, int, (const char *)); #endif |