pid
Abstract
getpid
returns the PID of its own process.
getpid
は自プロセスの PID を返します.
Header file
namespace sstd{
int32 getpid();
}
Usage
- main.cpp
#include <sstd/sstd.hpp> int main(){ sstd::printn( sstd::getpid() ); }
- Execution result
sstd::getpid() = 1366
Implementation
- Source: sstd/src/sys/pid.cpp
- Header: sstd/src/sys/pid.hpp
- Test: test/src_test/sys/pid.hpp (Not implemented yet)