Back to index

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

Go to the source code of this file.

Functions

task_t __pid2task (pid_t pid)

Function Documentation

task_t __pid2task ( pid_t  pid)

Definition at line 22 of file pid2task.c.

{
  error_t err;
  task_t task;

  err = __USEPORT (PROC, __proc_pid2task (port, pid, &task));

  return err ? (__hurd_fail (err), MACH_PORT_NULL) : task;
}

Here is the call graph for this function: