| 1 |
/* |
| 2 |
* Copyright (c) 2009, Giampaolo Rodola', Oleksii Shevchuk. |
| 3 |
* All rights reserved. Use of this source code is governed by a BSD-style |
| 4 |
* license that can be found in the LICENSE file. |
| 5 |
*/ |
| 6 |
|
| 7 |
#include <sys/procfs.h> |
| 8 |
|
| 9 |
#ifndef PROCESS_AS_UTILS_H |
| 10 |
#define PROCESS_AS_UTILS_H |
| 11 |
|
| 12 |
char ** |
| 13 |
psutil_read_raw_args(psinfo_t info, const char *procfs_path, size_t *count); |
| 14 |
|
| 15 |
char ** |
| 16 |
psutil_read_raw_env(psinfo_t info, const char *procfs_path, ssize_t *count); |
| 17 |
|
| 18 |
void |
| 19 |
psutil_free_cstrings_array(char **array, size_t count); |
| 20 |
|
| 21 |
#endif // PROCESS_AS_UTILS_H |