aboutsummaryrefslogtreecommitdiff
path: root/libbb/procps.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/procps.c')
-rw-r--r--libbb/procps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/procps.c b/libbb/procps.c
index de640d29e..dfea8af6b 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -63,6 +63,7 @@ const char* FAST_FUNC get_cached_groupname(gid_t gid)
63 return get_cached(1, gid, gid2group_utoa); 63 return get_cached(1, gid, gid2group_utoa);
64} 64}
65 65
66#if !ENABLE_PLATFORM_MINGW32
66 67
67#define PROCPS_BUFSIZE 1024 68#define PROCPS_BUFSIZE 1024
68 69
@@ -617,6 +618,8 @@ int FAST_FUNC read_cmdline(char *buf, int col, unsigned pid, const char *comm)
617 return 0; 618 return 0;
618} 619}
619 620
621#endif /* ENABLE_PLATFORM_MINGW32 */
622
620/* from kernel: 623/* from kernel:
621 // pid comm S ppid pgid sid tty_nr tty_pgrp flg 624 // pid comm S ppid pgid sid tty_nr tty_pgrp flg
622 sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \ 625 sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \