kiranvizru / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

C code: identify psutil internal functions by using a precise prefix #354

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is a note for me and applies to all those utility functions defined in the 
C code. 

They should be renamed by using a "psutil_" prefix so that it becomes clear 
that they are utility functions defined internally (as opposed to being defined 
in some header file defined at the top).

Some examples are get_kinfo_proc(), get_proc_list(), getcmdpath() on BSD and 
handle_from_pid(), pid_is_running(), pid_in_proclist() on Windows.

Original issue reported on code.google.com by g.rodola on 2 Mar 2013 at 3:11

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 2 Mar 2013 at 3:12

GoogleCodeExporter commented 9 years ago
Fixed in revision 73608ce0ff14, revision 98f5e690dcbf, revision f93197af5e4a.

Original comment by g.rodola on 11 Apr 2013 at 10:42

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 12 Apr 2013 at 6:21