source:
GPL/trunk/include/linux/pid.h@
596
| Last change on this file since 596 was 477, checked in by , 16 years ago | |
|---|---|
| File size: 240 bytes | |
| Line | |
|---|---|
| 1 | #ifndef _LINUX_PID_H |
| 2 | #define _LINUX_PID_H |
| 3 | |
| 4 | /* use nr as pointer */ |
| 5 | struct pid; |
| 6 | #define get_pid(p) (p) |
| 7 | #define put_pid(p) |
| 8 | #define task_pid(t) ((struct pid *)((t)->pid)) |
| 9 | #define pid_vnr(p) ((pid_t)(p)) |
| 10 | |
| 11 | |
| 12 | #endif /* _LINUX_PID_H */ |
Note:
See TracBrowser
for help on using the repository browser.
