File: environ.h

package info (click to toggle)
python-psutil 7.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,312 kB
  • sloc: python: 19,411; ansic: 15,378; makefile: 465; javascript: 153; sh: 54
file content (21 lines) | stat: -rw-r--r-- 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2009, Giampaolo Rodola', Oleksii Shevchuk.
 * All rights reserved. Use of this source code is governed by a BSD-style
 * license that can be found in the LICENSE file.
 */

#include <sys/procfs.h>

#ifndef PROCESS_AS_UTILS_H
#define PROCESS_AS_UTILS_H

char **
psutil_read_raw_args(psinfo_t info, const char *procfs_path, size_t *count);

char **
psutil_read_raw_env(psinfo_t info, const char *procfs_path, ssize_t *count);

void
psutil_free_cstrings_array(char **array, size_t count);

#endif // PROCESS_AS_UTILS_H