from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209580

userrating:


May 25th. 2007:
Words

486

Views

258587

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149876

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





ARES_SET_SORTLIST

Section: C Library Functions (3)
Updated: 23 November 2015
Index Return to Main Contents
 

NAME

ares_set_sortlist - Initialize an ares_channel_t *sortlist configuration  

SYNOPSIS

#include <ares.h>

int ares_set_sortlist(ares_channel_t *channel, const char *sortstr)
 

DESCRIPTION

The ares_set_sortlist(3) function initializes an address sortlist configuration for the channel data identified by channel, so that addresses returned by ares_gethostbyname(3) are sorted according to the sortlist. The provided sortstr string that holds a space separated list of I-addres-netmask pairs. The netmask is optional but follows the address after a slash if present. For example, "130.155.160.0/255.255.240.0 130.155.0.0".

This function replaces any potentially previously configured address sortlist with the ones given in the configuration string.

 

RETURN VALUES

ares_set_sortlist(3) may return any of the following values:
ARES_SUCCESS
The sortlist configuration was successfully initialized.
ARES_ENOMEM
The process's available memory was exhausted.
ARES_ENODATA
The channel data identified by channel was invalid.
ARES_ENOTINITIALIZED
-ares library initialization not yet performed.
 

SEE ALSO

ares_init_options(3), ares_dup(3)  

AVAILABILITY

ares_set_sortlist(3) was added in -ares 1.11.0


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
AVAILABILITY





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 12.3 ms