82 lines
6.1 KiB
HTML
82 lines
6.1 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
|
<title>Process-Related APIs</title>
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<!-- Begin Header Records ========================================= -->
|
|
<!-- NETMG2 SCRIPT A converted by B2H R4.1 (346) (CMS) by HOLTJM at -->
|
|
<!-- RCHVMW2 on 29 Jan 1999 at 10:01:37 -->
|
|
<!-- File Edited December 2001 -->
|
|
<!-- 031112 JETAYLOR replaced API and/or Exit listings with -->
|
|
<!-- pagegenerator output from javascript array -->
|
|
<!-- End Header Records -->
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body>
|
|
<a name="Top_Of_Page"></a>
|
|
<!-- Java sync-link -->
|
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
|
|
</script>
|
|
|
|
<h2>Process-Related APIs</h2>
|
|
|
|
<p>The process-related APIs perform process-related or other general
|
|
operations. These APIs are C language functions that can be used in ILE C
|
|
programs.</p>
|
|
|
|
<p>The process-related APIs are:</p>
|
|
|
|
<!-- ***** NOTE ***** Do not manually update text or links in this section. -->
|
|
<!-- Updates made in this section *will* be overlaid by automated tools -->
|
|
<!-- Notify User Technologies of needed updates to be made in XML for API finder.-->
|
|
<!--***************API BEGIN PASTE***************-->
|
|
<ul>
|
|
<li><A HREF="getopt.htm">getopt()</A> (Get flag letters from argument vector) returns the next flag letter in the argv list that matches a letter in optionstring.</li>
|
|
<li><A HREF="getpgrp.htm">getpgrp()</A> (Get process group ID) returns the process group ID of the calling process.</li>
|
|
<li><A HREF="getpid.htm">getpid()</A> (Get process ID) returns the process ID of the calling process.</li>
|
|
<li><A HREF="getppid.htm">getppid()</A> (Get process ID of parent process) returns the parent process ID of the calling process.</li>
|
|
<li><A HREF="getrlim.htm">getrlimit()</A> (Get resource limit) returns the resource limit for the specified<em>resource</em>.</li>
|
|
<li><A HREF="pipe2.htm">pipe()</A> (Create interprocess channel) creates a data pipe and places two file descriptors, one each into the arguments fildes[0] and fildes[1], that refer to the open file descriptions for the read and write ends of the pipe, respectively.</li>
|
|
<li><A HREF="spawnu.htm">QlgSpawn()</A> (Spawn process (using NLS-enabled path name)) creates a child process that inherits specific attributes from the parent.</li>
|
|
<li><A HREF="spawnpu.htm">QlgSpawnp()</A> (Spawn process with path (using NLS-enabled file name)) creates a child process that inherits specific attributes from the parent.</li>
|
|
<li><A HREF="chkchld.htm">Qp0wChkChld()</A> (Check status for child processes) returns the status and process table entry information for the child processes of the specified process ID.</li>
|
|
<li><A HREF="chkpgrp.htm">Qp0wChkPgrp()</A> (Check status for process group) returns the status and process table entry information for the processes that are members of the process group identified by pid in the structure QP0W_PID_Entry_T.</li>
|
|
<li><A HREF="chkpid.htm">Qp0wChkPid()</A> (Check status for process ID) returns the status and process table entry information for the process specified by the process ID pid.</li>
|
|
<li><A HREF="qgtjid.htm">Qp0wGetJobID()</A> (Get qualified job name and ID for process ID) returns the qualified job name and internal job identifier for the process whose process ID matches pid.</li>
|
|
<li><A HREF="qgtpgrp.htm">Qp0wGetPgrp()</A> (Get process group ID) returns the process group ID of the calling process.</li>
|
|
<li><A HREF="qgtpid.htm">Qp0wGetPid()</A> (Get process ID) returns the process ID of the calling process.</li>
|
|
<li><A HREF="qgpidni.htm">Qp0wGetPidNoInit</A> (Get process ID without initializing for signals) returns the process ID of the calling process without enabling the process to receive signals.</li>
|
|
<li><A HREF="qgtppid.htm">Qp0wGetPPid()</A> (Get process ID of parent process) returns the parent process ID of the calling process.</li>
|
|
<li><A HREF="pipe.htm">Qp0zPipe()</A> (Create interprocess channel with sockets) creates a data pipe that can be used by two processes.</li>
|
|
<li><A HREF="system.htm">Qp0zSystem()</A> (Run a CL command) spawns a new process, passes CLcommand to the CL command processor in the new process, and waits for the command to complete.</li>
|
|
<li><A HREF="setpgid.htm">setpgid()</A> (Set process group ID for job control) is used to either join an existing process group or create a new process group within the session of the calling process.</li>
|
|
<li><A HREF="setrlim.htm">setrlimit()</A> (Set resource limit) sets the resource limit for the specified<em>resource</em>.</li>
|
|
<li><A HREF="spawn.htm">spawn()</A> (Spawn process) creates a child process that inherits specific attributes from the parent.</li>
|
|
<li><A HREF="spawnp.htm">spawnp()</A> (Spawn process with path) creates a child process that inherits specific attributes from the parent.</li>
|
|
<li><A HREF="ulimit.htm">ulimit()</A> (Get and set process limits) provides a way to get and set process resource limits.</li>
|
|
<li><A HREF="wait.htm">wait()</A> (Wait for child process to end) suspends processing until a child process has ended.</li>
|
|
<li><A HREF="waitpid.htm">waitpid()</A> (Wait for specific child process) allows the calling thread to obtain status information for one of its child processes.</li>
|
|
</ul>
|
|
<!--***************API END PASTE***************-->
|
|
|
|
<p>For additional information, see <a href="shscript.htm">About shell scripts</a>.</p>
|
|
|
|
<br>
|
|
|
|
<hr>
|
|
<center>
|
|
<table cellpadding="2" cellspacing="2">
|
|
<tr align="center">
|
|
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
|
|
"unix.htm">UNIX-Type APIs</a> | <a href="aplist.htm">APIs by category</a></td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html>
|