kdetach man page on YellowDog

Man page or keyword search:  
man Server   18644 pages
apropos Keyword Search (all sections)
Output format
YellowDog logo
[printable version]

KATTACH(2)		       LAM LOCAL LIBRARY		    KATTACH(2)

NAME
       kattach,	 kdetach  - Attach/detach a process to/from the local LAM dae‐
       mon.

SYNOPSIS
       int kattach (int priority);
       int kdetach (int pid);

DESCRIPTION
       These functions allow a process to join and leave a  LAM	 session.   An
       existing	 process  running under the native operating system calls kat‐
       tach() to register with the local LAM  daemon.	The  LAM  daemon  must
       already be running or the operation fails and an error is returned.

       kattach()  is eventually called by kenter(2) and is therefore typically
       used in rare cases when a process wishes to change priority  or	return
       to  the	LAM  session after temporarily detaching.  kattach() cannot be
       called before kenter(2).	 The priority argument determines the synchro‐
       nization priority of the calling process.  See kenter(2).

       kdetach()  de-registers	a  process  from  the  local  LAM daemon.  The
       process "dies" as far as the LAM daemon is concerned.   It  effectively
       undoes  what kattach() did.  kdetach() is eventually called by kexit(2)
       and is therefore typically used in rare cases when a process wishes  to
       leave LAM control without terminating.  The pid argument is the process
       ID of the process to be detached.  A process ID of 0 is interpreted  as
       a  request  to  detach  the calling process, and is the normal usage of
       kdetach().  Detaching peer LAM processes is intended  as	 an  emergency
       clean up measure and is not normal usage.

ERRORS
       ENOKERNEL      The LAM daemon is not running.

       ENOTATTACHED   The calling process is not a LAM process.

SEE ALSO
       kenter(2), kexit(2)

LAM 7.1.2			  March, 2006			    KATTACH(2)
[top]

List of man pages available for YellowDog

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net