我正在Docker容器中运行一个节点应用程序。 这里是dockerfile FROM maven:3.3.3-jdk-8
#install node
RUN apt-get update
RUN apt-get -qq update
RUN apt-get install -y nodejs npm
# TODO could uninstall some build dependen
我需要从siginfo_t结构中检索子进程的PID。此代码的工作在Solaris上: siginfo_t *info;
//
// siginfo is initialized with proper data here
//
pid = info->__data.__proc.__pid;
但是,当我试图端口我的代码的Linux,我得到了一个编译错误: error: ‘siginfo