[問題] popen呼叫sys call問題

看板C_and_CPP (C/C++)作者 (撫星)時間15年前 (2011/01/28 21:17), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
使用popen, 如果file stream的內容不讀完就執行fclose會怎樣呢? 我想要用popen呼叫 tracert, 遇到沒回應的路由器就停止, 如果不能用上面的方法, 那可以怎麼做呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.251.169.156

01/28 21:30, , 1F
fopen怎麼呼叫tracert...?
01/28 21:30, 1F
打錯 是popen ※ 編輯: StarTouching 來自: 111.251.169.156 (01/28 21:32)
文章代碼(AID): #1DGi7tS0 (C_and_CPP)
文章代碼(AID): #1DGi7tS0 (C_and_CPP)