Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 4.8

i386

rtas(2)


RTAS

RTAS

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
AUTHOR

NAME

rtas − Allows userspace to call RTAS (Run Time Abstraction Services)

SYNOPSIS

int ppc_rtas (struct rtas_args *uargs);

DESCRIPTION

ppc_rtas enables userspace manipulation of the RunTime Abstraction Services (RTAS). RTAS provides for a portable method of access and setting system information. For example, you could gather information on various system sensors and set poweron values. RTAS is accessed via the /proc entry called "rtas". Manipulations on RTAS are implemented via command line arguments on /proc/rtas. The values for uargs vary greatly. For more information, see the view/arch/ppcKconfig file.

RETURN VALUE

rtas returns 0 on success; otherwise it returns one of the errors listed in the "Errors" section.

ERRORS

-EPERM

User does not have CAP_SYS_ADMIN capabilities.

-EFAULT

Problem copying uargs values to/from user space.

-EINVAL

Either number of uargs passed in too large or size of uargs array too large.

AUTHOR

Niki Rahimi.



rtas(2)