User Tools

Site Tools


proc:comm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
proc:comm [2017/04/06 15:28] – created peterproc:comm [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 6: Line 6:
  
 Initialized normally by **setup_new_exec**. Initialized normally by **setup_new_exec**.
 +
 +Example usage:
 +
 +<code c>
 +#include linux/sched.h
 +
 +struct task_struct *task;
 +
 +for_each_process(task)
 +{
 +  printk("Name: %s PID: [%d]\n", task->comm, task->pid);
 +}
 +</code>
proc/comm.1491492519.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki