OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [libiberty/] [waitpid.c] - Blame information for rev 1779

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
int
2
waitpid (pid, stat_loc, options)
3
        int pid, *stat_loc, options;
4
{
5
  for (;;)
6
    {
7
      int wpid = wait(stat_loc);
8
      if (wpid == pid || wpid == -1)
9
        return wpid;
10
    }
11
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.