Mercurial > hg > octave-lojdl > gnulib-hg
view modules/fchdir @ 14295:34809a158a33
New module 'wcsdup'.
* modules/wcsdup: New file.
* lib/wchar.in.h (wcsdup): New declaration.
* lib/wcsdup.c: New file.
* lib/wcsdup-impl.h: New file, from libutf8 with modifications.
* m4/wcsdup.m4: New file.
* m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcsdup is declared.
(gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSDUP, HAVE_WCSDUP.
* modules/wchar (Makefile.am): Substitute GNULIB_WCSDUP, HAVE_WCSDUP.
* tests/test-wchar-c++.cc: Test the declaration of wcsdup.
* doc/posix-functions/wcsdup.texi: Mention the new module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 06 Feb 2011 13:42:05 +0100 |
parents | 2a3833485e1c |
children | 3b510b174c56 |
line wrap: on
line source
Description: fchdir() function: change current directory, given an open file descriptor. Files: lib/fchdir.c m4/fchdir.m4 Depends-on: close dirent dirfd dup2 fcntl fcntl-h include_next malloc-posix open realloc-posix stat stdbool strdup-posix sys_stat unistd configure.ac: gl_FUNC_FCHDIR gl_UNISTD_MODULE_INDICATOR([fchdir]) Makefile.am: Include: <unistd.h> License: LGPL Maintainer: Bruno Haible