René's URL Explorer Experiment


Title: src: define getpid() based on OS by cjihrig · Pull Request #4146 · nodejs/node · GitHub

Open Graph Title: src: define getpid() based on OS by cjihrig · Pull Request #4146 · nodejs/node

X Title: src: define getpid() based on OS by cjihrig · Pull Request #4146 · nodejs/node

Description: 94b9948 added unistd.h to src/env.cc in order to use getpid(). However, this doesn't exist on Windows. This commit conditionally defines getpid() based on the OS. Closes #4145 R=@mscdex

Open Graph Description: 94b9948 added unistd.h to src/env.cc in order to use getpid(). However, this doesn't exist on Windows. This commit conditionally defines getpid() based on the OS. Closes #4145 R=@mscdex

X Description: 94b9948 added unistd.h to src/env.cc in order to use getpid(). However, this doesn't exist on Windows. This commit conditionally defines getpid() based on the OS. Closes #4145 R=@mscdex

Opengraph URL: https://github.com/nodejs/node/pull/4146

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:7a0287d0-7c6e-a436-f165-f17fb2510c4b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBA50:26BEF2:C66A08:1021B10:696B288C
html-safe-nonce22924e0674baa6b3c63c38ba254a1964ffab2edd3b1fc381ed15132a37943024
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTUwOjI2QkVGMjpDNjZBMDg6MTAyMUIxMDo2OTZCMjg4QyIsInZpc2l0b3JfaWQiOiI0NDA4MTMzNjAzMDgyMzQzODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac42237a3a76a932ca217fbc668c6014c99da2ae7d9447e322317a5d583e80e3f9
hovercard-subject-tagpull_request:52617497
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/4146/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ccd06710ca99e662b2a2c3008391a6fcd1a2b59e0952429e2f088ab23278ce28/nodejs/node/pull/4146
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ccd06710ca99e662b2a2c3008391a6fcd1a2b59e0952429e2f088ab23278ce28/nodejs/node/pull/4146
og:image:alt94b9948 added unistd.h to src/env.cc in order to use getpid(). However, this doesn't exist on Windows. This commit conditionally defines getpid() based on the OS. Closes #4145 R=@mscdex
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecjihrig
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/4146#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F4146
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F4146
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/4146
Reloadhttps://github.com/nodejs/node/pull/4146
Reloadhttps://github.com/nodejs/node/pull/4146
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/4146
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 34.4k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 115k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.7k https://github.com/nodejs/node/issues
Pull requests 691 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects 3 https://github.com/nodejs/node/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/nodejs/node/security
Please reload this pagehttps://github.com/nodejs/node/pull/4146
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/nodejs/node/pull/4146#issue-comment-box
cjihrighttps://github.com/cjihrig
nodejs:masterhttps://github.com/nodejs/node/tree/master
cjihrig:4145https://github.com/cjihrig/node/tree/4145
src: define getpid() based on OS https://github.com/nodejs/node/pull/4146#top
cjihrighttps://github.com/cjihrig
nodejs:masterhttps://github.com/nodejs/node/tree/master
cjihrig:4145https://github.com/cjihrig/node/tree/4145
Conversation 9 https://github.com/nodejs/node/pull/4146
Commits 0 https://github.com/nodejs/node/pull/4146/commits
Checks 0 https://github.com/nodejs/node/pull/4146/checks
Files changed https://github.com/nodejs/node/pull/4146/files
Please reload this pagehttps://github.com/nodejs/node/pull/4146
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Dec 4, 2015https://github.com/nodejs/node/pull/4146#issue-120309963
#4145https://github.com/nodejs/node/issues/4145
@mscdexhttps://github.com/mscdex
Please reload this pagehttps://github.com/nodejs/node/pull/4146
https://github.com/mscdex
mscdexhttps://github.com/mscdex
Dec 4, 2015https://github.com/nodejs/node/pull/4146#issuecomment-161845019
Please reload this pagehttps://github.com/nodejs/node/pull/4146
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Dec 4, 2015https://github.com/nodejs/node/pull/4146#issuecomment-161846427
Please reload this pagehttps://github.com/nodejs/node/pull/4146
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
force-pushedhttps://github.com/nodejs/node/compare/3aed55fd088bccbd028a1831a733179b2383818a..67199ce218a521f2a51c12b5b35a2b645afe2e55
3aed55fhttps://github.com/nodejs/node/commit/3aed55fd088bccbd028a1831a733179b2383818a
67199cehttps://github.com/nodejs/node/commit/67199ce218a521f2a51c12b5b35a2b645afe2e55
Compare https://github.com/nodejs/node/compare/3aed55fd088bccbd028a1831a733179b2383818a..67199ce218a521f2a51c12b5b35a2b645afe2e55
December 4, 2015 01:39https://github.com/nodejs/node/pull/4146#event-482186359
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
force-pushedhttps://github.com/nodejs/node/compare/67199ce218a521f2a51c12b5b35a2b645afe2e55..f532b0aa913838bd8441b05ed1f778d54e0e3d85
67199cehttps://github.com/nodejs/node/commit/67199ce218a521f2a51c12b5b35a2b645afe2e55
f532b0ahttps://github.com/nodejs/node/commit/f532b0aa913838bd8441b05ed1f778d54e0e3d85
Compare https://github.com/nodejs/node/compare/67199ce218a521f2a51c12b5b35a2b645afe2e55..f532b0aa913838bd8441b05ed1f778d54e0e3d85
December 4, 2015 01:40https://github.com/nodejs/node/pull/4146#event-482186797
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Dec 4, 2015https://github.com/nodejs/node/pull/4146#issuecomment-161847108
Please reload this pagehttps://github.com/nodejs/node/pull/4146
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Dec 4, 2015https://github.com/nodejs/node/pull/4146#issuecomment-161849077
https://ci.nodejs.org/job/node-test-pull-request/919/https://ci.nodejs.org/job/node-test-pull-request/919/
Please reload this pagehttps://github.com/nodejs/node/pull/4146
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Dec 4, 2015https://github.com/nodejs/node/pull/4146#issuecomment-161852115
Please reload this pagehttps://github.com/nodejs/node/pull/4146
https://github.com/mscdex
mscdexhttps://github.com/mscdex
Dec 4, 2015https://github.com/nodejs/node/pull/4146#issuecomment-161852542
Please reload this pagehttps://github.com/nodejs/node/pull/4146
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Dec 4, 2015https://github.com/nodejs/node/pull/4146#event-482213465
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
force-pushedhttps://github.com/nodejs/node/compare/f532b0aa913838bd8441b05ed1f778d54e0e3d85..a9c0c65f9eca5593a775b2b7cb03e35806f24683
f532b0ahttps://github.com/nodejs/node/commit/f532b0aa913838bd8441b05ed1f778d54e0e3d85
a9c0c65https://github.com/nodejs/node/commit/a9c0c65f9eca5593a775b2b7cb03e35806f24683
Compare https://github.com/nodejs/node/compare/f532b0aa913838bd8441b05ed1f778d54e0e3d85..a9c0c65f9eca5593a775b2b7cb03e35806f24683
December 4, 2015 02:25https://github.com/nodejs/node/pull/4146#event-482213466
cjihrighttps://github.com/cjihrig
Dec 4, 2015 https://github.com/nodejs/node/pull/4146#ref-commit-a9c0c65
https://github.com/cjihrig
src: define getpid() based on OShttps://github.com/cjihrig/node/commit/a9c0c65f9eca5593a775b2b7cb03e35806f24683
a9c0c65https://github.com/cjihrig/node/commit/a9c0c65f9eca5593a775b2b7cb03e35806f24683
nodejs#4145https://github.com/nodejs/node/issues/4145
nodejs#4146https://github.com/nodejs/node/pull/4146
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
December 4, 2015 02:25https://github.com/nodejs/node/pull/4146#event-482213517
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
a9c0c65https://github.com/nodejs/node/commit/a9c0c65f9eca5593a775b2b7cb03e35806f24683
Dec 4, 2015https://github.com/nodejs/node/pull/4146#event-482213541
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Dec 4, 2015https://github.com/nodejs/node/pull/4146#issuecomment-161852840
Please reload this pagehttps://github.com/nodejs/node/pull/4146
https://github.com/rvagg
rvagghttps://github.com/rvagg
Dec 5, 2015https://github.com/nodejs/node/pull/4146#issuecomment-162141645
Please reload this pagehttps://github.com/nodejs/node/pull/4146
cjihrighttps://github.com/cjihrig
Dec 5, 2015 https://github.com/nodejs/node/pull/4146#ref-commit-458facd
https://github.com/cjihrig
https://github.com/rvagg
src: define getpid() based on OShttps://github.com/nodejs/node/commit/458facdf66395c38cfb6104109cf39d2938c9709
458facdhttps://github.com/nodejs/node/commit/458facdf66395c38cfb6104109cf39d2938c9709
#4145https://github.com/nodejs/node/issues/4145
#4146https://github.com/nodejs/node/pull/4146
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
Dec 5, 2015 https://github.com/nodejs/node/pull/4146#ref-pullrequest-120544984
src: use GetCurrentProcessId() for process.pid #4163 https://github.com/nodejs/node/pull/4163
Release proposal: v5.2.0 #4180 https://github.com/nodejs/node/pull/4180
Release proposal: v5.2.0 (Stable) #4181 https://github.com/nodejs/node/pull/4181
https://github.com/rvagg
rvagghttps://github.com/rvagg
Dec 17, 2015 https://github.com/nodejs/node/pull/4146#ref-issue-122642707
Release 4.2.4 Planning #4321 https://github.com/nodejs/node/issues/4321
https://github.com/jasnell
jasnellhttps://github.com/jasnell
os https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aos
lib / src https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22lib%20%2F%20src%22
lts-watch-v4.x https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Alts-watch-v4.x
os https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aos
Dec 17, 2015https://github.com/nodejs/node/pull/4146#event-495084036
https://github.com/MylesBorins
MylesBorinshttps://github.com/MylesBorins
Dec 29, 2015https://github.com/nodejs/node/pull/4146#issuecomment-167900847
@jasnellhttps://github.com/jasnell
Please reload this pagehttps://github.com/nodejs/node/pull/4146
https://github.com/MylesBorins
MylesBorinshttps://github.com/MylesBorins
lts-watch-v4.x https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Alts-watch-v4.x
Dec 29, 2015https://github.com/nodejs/node/pull/4146#event-502479560
https://github.com/MylesBorins
MylesBorinshttps://github.com/MylesBorins
Jan 14, 2016 https://github.com/nodejs/node/pull/4146#ref-issue-126730245
Audit commits not found on v4.x-staging #4698 https://github.com/nodejs/node/issues/4698
https://github.com/rvagg
rvagghttps://github.com/rvagg
dont-land-on-v4.x https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Adont-land-on-v4.x
Jan 15, 2016https://github.com/nodejs/node/pull/4146#event-515898343
scovettahttps://github.com/scovetta
Apr 2, 2016 https://github.com/nodejs/node/pull/4146#ref-commit-8018a25
https://github.com/cjihrig
src: define getpid() based on OShttps://github.com/scovetta/node/commit/8018a251011a02c9ddab5fdbadba25bb09f58761
8018a25https://github.com/scovetta/node/commit/8018a251011a02c9ddab5fdbadba25bb09f58761
nodejs#4145https://github.com/nodejs/node/issues/4145
nodejs#4146https://github.com/nodejs/node/pull/4146
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F4146
lib / src https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22lib%20%2F%20src%22
Please reload this pagehttps://github.com/nodejs/node/pull/4146
https://github.com/cjihrig
https://github.com/mscdex
https://github.com/rvagg
https://github.com/MylesBorins
https://github.com/jasnell
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.