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

search text in:





Poll
What does your sytem tell when running "ulimit -u"?








poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

99295

userrating:

average rating: 1.7 (84 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

214444

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:

95492

userrating:

average rating: 1.3 (28 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





RC_CONFIG

Section: C Library Functions (3)
Updated: SMM
Index Return to Main Contents

BSD mandoc
OpenRC  

NAME

rc_config_list , rc_config_load , rc_config_value , rc_yesno - functions to query OpenRC service configurations  

LIBRARY

Run Command library (librc, -lrc)  

SYNOPSIS

In rc.h Ft RC_STRINGLIST * Fn rc_config_list const char *file Ft RC_STRINGLIST * Fn rc_config_load const char *file Ft char * Fn rc_config_value const char *const *list const char *entry Ft bool Fn rc_yesno const char *value  

DESCRIPTION

These functions provide an easy means of querying OpenRC configuration files.

Fn rc_config_list returns a list of non comment lines in Fa file . Fn rc_config_load does the same, but attempts to parse the line as if it was a shell assignment. Fn rc_config_value returns the value of Fa entry found in Fa list .

Each list should be freed using Fn rc_stringlist_free when done.

Fn rc_yesno returns if Fa value is true, yes, on or 1 regardless of case, otherwise false. If Fa value is also not false, no, off or 0 regardless of case then errno is set to EINVAL  

SEE ALSO

malloc(3), rc_stringlist_free3, sh(1)  

AUTHORS

An Roy Marples <roy@marples.name>


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHORS


Please read "Why adblockers are bad".



Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2017 Sascha Nitsch Unternehmensberatung UG(haftungsbeschränkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 3.5 ms