view modules/close @ 14289:b5843d4d8441

New module 'wcscmp'. * modules/wcscmp: New file. * lib/wchar.in.h (wcscmp): New declaration. * lib/wcscmp.c: New file. * lib/wcscmp-impl.h: New file, from libutf8 with modifications. * m4/wcscmp.m4: New file. * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcscmp is declared. (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSCMP, HAVE_WCSCMP. * modules/wchar (Makefile.am): Substitute GNULIB_WCSCMP, HAVE_WCSCMP. * tests/test-wchar-c++.cc: Test the declaration of wcscmp. * doc/posix-functions/wcscmp.texi: Mention the new module.
author Bruno Haible <bruno@clisp.org>
date Sun, 06 Feb 2011 04:39:48 +0100
parents d40b890c5200
children 32d72ffe29dd
line wrap: on
line source

Description:
close() function: close a file or socket.

Files:
lib/close.c
m4/close.m4

Depends-on:
unistd
close-hook
fclose

configure.ac:
gl_FUNC_CLOSE
gl_UNISTD_MODULE_INDICATOR([close])

Makefile.am:

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
Paolo Bonzini, Simon Josefsson, Bruno Haible