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

search text in:





Poll
Which screen resolution do you use?










poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

100317

userrating:

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


May 25th. 2007:
Words

486

Views

215409

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:

96337

userrating:

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


April, 26th. 2006:

Druckversion
You are here: manpages





RC_RUNLEVEL

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

BSD mandoc
OpenRC  

NAME

rc_runlevel_get , rc_runlevel_exists , rc_runlevel_list , rc_runlevel_set rc_runlevel_starting , rc_runlevel_stopping - RC runlevel functions  

LIBRARY

Run Command library (librc, -lrc)  

SYNOPSIS

In rc.h Ft char * Fn rc_runlevel_get void Ft bool Fn rc_runlevel_exists Ft RC_STRINGLIST * Fn rc_runlevel_list void Ft bool Fn rc_runlevel_set const char *runlevel Ft bool Fn rc_runlevel_starting void Ft bool Fn rc_runlevel_stopping void  

DESCRIPTION

These functions provide a means of querying OpenRC to find out which runlevel we are in and what services are in which runlevel.  

IMPLEMENTATION NOTES

Each function that returns char * returns a malloced NULL terminated string that should be freed when done.

Each function that returns RC_STRINGLIST * should by freed by calling Fn rc_stringlist_free when done.  

FILES

/etc/init.d/functions.sh is provided by OpenRC, which allows shell scripts to use the above functions. For historical reasons our verbose functions are prefixed with v instead of suffixed. So einfov becomes veinfo, einfovn becomes veinfon. Rinse and repeat for the other verbose functions.  

SEE ALSO

malloc(3), free(3) rc_stringlist_free3  

AUTHORS

An Roy Marples <roy@marples.name>


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
IMPLEMENTATION NOTES
FILES
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.3 ms