Task man page on SunOS

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

Task(3PERL)		    Perl Library Functions		   Task(3PERL)

NAME
       Task - Perl interface to Tasks

SYNOPSIS
       use Sun::Solaris::Task qw(:ALL);
       my $taskid = gettaskid();

DESCRIPTION
       This  module  provides  wrappers	 for the gettaskid(2) and settaskid(2)
       system calls.

   Constants
       TASK_NORMAL, TASK_FINAL.

   Functions
       settaskid($project, $flags)

	   The $project parameter must be a valid project ID  and  the	$flags
	   parameter  must  be	TASK_NORMAL  or TASK_FINAL. The parameters are
	   passed through directly to the underlying settaskid() system	 call.
	   The	new task ID is returned if the call succeeds. On failure −1 is
	   returned.

       gettaskid()

	   This function returns the numeric task ID of the  calling  process,
	   or undef if the underlying gettaskid() system call is unsuccessful.

   Class methods
       None.

   Object methods
       None.

   Exports
       By default nothing is exported from this module. The following tags can
       be used to selectively import constants and functions defined  in  this
       module:

       :SYSCALLS       settaskid() and gettaskid()

       :CONSTANTS      TASK_NORMAL and TASK_FINAL

       :ALL	       :SYSCALLS and :CONSTANTS

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │SUNWpl5u			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Evolving			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       gettaskid(2), settaskid(2), attributes(5)

SunOS 5.10			  1 Dec 2002			   Task(3PERL)
[top]

List of man pages available for SunOS

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