中间件,开发工具,实时操作系统软件和支持服务,助您完成卓越的嵌入式设计
Home
Developer Resources
Developer Support

QNX Developer Support

PDF Documents
More resources
[Previous] [Contents] [Index] [Next]

endhostent()

Close the TCP connection and the hosts file

Synopsis:

#include <netdb.h>

void endhostent( void );

Library:

libsocket

Use the -l socket option to qcc to link against this library.

Description:

The endhostent() routine closes the TCP connection and the hosts file.

Files:

/etc/hosts
Host database file.

Classification:

POSIX 1003.1

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread No

See also:

gethostbyaddr(), gethostbyname(), gethostent(), hostent, sethostent()

/etc/hosts, /etc/resolv.conf in the Utilities Reference


[Previous] [Contents] [Index] [Next]
 
©2013 QNX Software Systems Limited, a subsidiary of BlackBerry.   BlackBerry Logo