Back to index

glibc  2.9
Functions
task2pid.c File Reference
#include <hurd.h>

Go to the source code of this file.

Functions

pid_t __task2pid (task_t task)

Function Documentation

pid_t __task2pid ( task_t  task)

Definition at line 22 of file task2pid.c.

{
  error_t err;
  pid_t pid;
  err = __USEPORT (PROC, __proc_task2pid (port, task, &pid));
  return err ? (pid_t) __hurd_fail (err) : pid;
}

Here is the call graph for this function: