English
全部
搜索
图片
视频
地图
资讯
更多
购物
航班
旅游
笔记本
Top stories
Sports
U.S.
Local
World
Science
Technology
Entertainment
Business
More
Politics
时间不限
过去 1 小时
过去 24 小时
过去 7 天
过去 30 天
最佳匹配
最新
csdn
18 年
Linux 哪个system 函数可以得到我自己 和 什么 tty
Linux 哪个system C 函数可以得到我自己的login名字 和 什么 tty. 我可以用 "who am i" 在shell 下得到: jack pts/3 Aug 27 13:51 (machine name). 我不想用getenv("USER")之类的通过env变量, 因为这些变量很有可能没有设好. 谢谢了.
一些您可能无法访问的结果已被隐去。
显示无法访问的结果
今日热点
Body of last hostage found
Missing teacher found dead
Geoffrey Mason dies
Launches MI governor bid
CVC to acquire Marathon
Pleads not guilty
Thailand frees leopard sharks
Private jet crashes in Maine
Apologizes for antisemitism
US winter storm updates
‘Mercy’ tops box office
Mexico soccer field shooting
Giants hire Chris Horton
Veteran BBC journalist dies
Treasury cancels contracts
Ferry sinks in Philippines
Gold tops $5,000
US carrier enters Middle East
Trump sends Homan to MN
Brazil takes over MX embassy
Wienie 500 is back at IMS
Super Bowl 60 matchup set
Rafah crossing to reopen
Greece biscuit factory fire
Duterte fit to stand trial
Pegula dethrones Keys
Moves into AO quarters
Exits MN governor's race
Hospitalized after collapse
To pay $68M to settle suit
EU opens probe into X
反馈