posix_getpid 函数win下失效问题

posix_getpid 是linux下的函数,在windows是没有的(not implemented),在windows下可以使用get_current_user()。

原文地址:https://www.cnblogs.com/caoql/p/8708375.html