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:

102698

userrating:

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


May 25th. 2007:
Words

486

Views

217400

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:

98094

userrating:

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


April, 26th. 2006:

Druckversion
You are here: manpages





RC_DEPTREE

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

BSD mandoc
OpenRC  

NAME

rc_deptree_update , rc_deptree_update_needed , rc_deptree_load rc_deptree_depend , rc_deptree_depends , rc_deptree_order rc_deptree_free - RC dependency tree functions  

LIBRARY

Run Command library (librc, -lrc)  

SYNOPSIS

In rc.h Ft bool Fn rc_deptree_update void Ft bool Fn rc_deptree_update_needed void Ft RC_DEPTREE Fn rc_deptree_load void Ft RC_STRINGLIST * Fo rc_deptree_depend Fa const RC_DEPTREE *deptree Fa const char *type Fa const char *service Fc Ft bool Fo rc_deptree_depends Fa const RC_DEPTREE *deptree Fa const char *const *types Fa const char *const *services Fa const char *runlevel Fa int options Fc Ft RC_STRINGLIST * Fo rc_deptree_order Fa const RC_DEPTREE *deptree Fa const char *runlevel Fa int options Fc Ft void Fn rc_deptree_free RC_DEPTREE *deptree  

DESCRIPTION

These functions provide a means of querying the dependencies of OpenRC services.

Fn rc_deptree_update updates the service dependency tree, normally /lib/rc/init.d/deptree Fn rc_deptree_update_needed checks to see if the dependency tree needs updated based on the mtime of it compared to /etc/init.d /etc/conf.d /usr/local/etc/init.d /usr/local/etc/conf.d /etc/rc.conf and any files specified by a service.

Fn rc_deptree_load loads the deptree and returns a pointer to it which needs to be freed by Fn rc_deptree_free when done.

Fn rc_deptree_depend , Fn rc_deptree_depends and Fn rc_deptree_order return a list of services from the Fa deptree based on the Fa type or Fa types of dependency. Fa options can be a bitmask of RC_DEP_TRACE and RC_DEP_STRICT RC_DEP_TRACE follows each services dependencies right down to the first service needed and RC_DEP_STRICT only lists services actually needed or in the runlevel  

IMPLEMENTATION NOTES

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

SEE ALSO

malloc(3), free(3), rc_stringlist_free3, openrc-run8  

AUTHORS

An Roy Marples <roy@marples.name>


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
IMPLEMENTATION NOTES
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: 18.4 ms