Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ldr_xdetach(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ldr_xattach(3)

ldr_xdetach(3)  —  Subroutines

NAME

ldr_xdetach − Detache from an attached process

SYNOPSIS

#include <sys/types.h>
#include <loader.h> int ldr_xdetach(
        ldr_process_t process );

LIBRARY

Standard C Library (libc)

PARAMETERS

process
Specifies the process from which to detach.

DESCRIPTION

The ldr_xdetach() function detaches the calling process from process, with which it had been associated for cross-process loading and debugging. This procedure should be used only if a ldr_xattach() was previously performed on the specified process.

NOTES

This function currently works only for the current process and the kernel. 

RETURN VALUES

If the detach operation is a success, the function returns a value of 0 (zero). If the detach fails, the function returns a negative value and errno is set to indicate the error. 

ERRORS

If the ldr_xdetach() function fails, errno may be set to the following value:

[ESRCH]
The process identifier is invalid.

Additional errors are possible from the underlying IPC mechanism. 

SEE ALSO

Functions: ldr_xattach(3)

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