Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ raccept(2) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chlwm

spropin

primrec

recmstr



RACCEPT(2,L)                AIX Technical Reference                RACCEPT(2,L)



-------------------------------------------------------------------------------
raccept



PURPOSE

Accepts a replicated file system recovery queue entry.

SYNTAX

#include <sys/types.h>
#include <sys/recovery.h>

int raccept(rcmdp)
struct rcmd *rcmdp;

DESCRIPTION

The raccept system call returns the first recovery entry from the kernel queue
to the location pointed to by the rcmdp pointer.  If the queue is empty, the
requesting process sleeps until the queue is not empty.  It is only intended
for use by the replicated file system recovery master process, which waits for
a request, then forks the appropriate recovery software.  Other use may disrupt
its operation.

The raccept system call can only be used by the superuser.

ERROR CONDITIONS

The following error codes are returned if raccept fails and -1 is returned:

EPERM     The effective user ID of the calling process is not superuser.

EFAULT    rcmdp is not contained in the allocated address space.

EINTR     A signal was caught while the process was waiting for a request.

RELATED INFORMATION

In this book:  "chlwm" and "spropin."

The primrec and recmstr commands in AIX Operating System Commands Reference.












Processed November 7, 1990       RACCEPT(2,L)                                 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026