阅读背景:

在C中使用Strtok()时的Segfault

来源:互联网 

I'm using C to write my own shell and to handle stream redirects (">" and "<") I'm using strtok() to get them and store relevant information to use later in the program. I'm not sure why I'm getting a segmenation fault when making the first call. (The code is pretty messy at the moment).I'm using C to write my own shell and to handle




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: