Mercurial > hg > octave-lojdl > gnulib-hg
view modules/canon-host @ 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 | 447e96feb793 |
children |
line wrap: on
line source
Description: Canonicalize a host name: return a name other hosts can understand, i.e. usually the host name including FQDN. Files: lib/canon-host.c lib/canon-host.h m4/canon-host.m4 Depends-on: getaddrinfo strdup configure.ac: gl_PREREQ_CANON_HOST Makefile.am: lib_SOURCES += canon-host.c Include: "canon-host.h" Link: $(GETADDRINFO_LIB) License: LGPL Maintainer: Jim Meyering