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 05eefe0da..5a4ea59d0 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -75,6 +75,7 @@ const char* FAST_FUNC get_cached_groupname(gid_t gid)
75 return get_cached(&groupname, gid, gid2group_utoa); 75 return get_cached(&groupname, gid, gid2group_utoa);
76} 76}
77 77
78#if !ENABLE_PLATFORM_MINGW32
78 79
79#define PROCPS_BUFSIZE 1024 80#define PROCPS_BUFSIZE 1024
80 81
@@ -616,6 +617,8 @@ void FAST_FUNC read_cmdline(char *buf, int col, unsigned pid, const char *comm)
616 } 617 }
617} 618}
618 619
620#endif /* ENABLE_PLATFORM_MINGW32 */
621
619/* from kernel: 622/* from kernel:
620 // pid comm S ppid pgid sid tty_nr tty_pgrp flg 623 // pid comm S ppid pgid sid tty_nr tty_pgrp flg
621 sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \ 624 sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \