Mercurial > hg > octave-lojdl > gnulib-hg
view modules/mbslen @ 15979:69cc1dcd696b
unlockpt: Detect invalid argument.
* lib/unlockpt.c: Include <fcntl.h>.
(unlockpt): Check whether fd is valid, using fcntl().
* modules/unlockpt (Depends-on): Add fcntl-h.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 21 Oct 2011 02:22:04 +0200 |
parents | d9ea14bb03f8 |
children |
line wrap: on
line source
Description: mbslen() function: Determine the number of multibyte characters in a string. Files: lib/mbslen.c m4/mbslen.m4 Depends-on: mbuiter string configure.ac: gl_FUNC_MBSLEN gl_STRING_MODULE_INDICATOR([mbslen]) Makefile.am: lib_SOURCES += mbslen.c Include: <string.h> License: LGPL Maintainer: Bruno Haible