prev up next   top/contents search

comp.lang.c FAQ list · Question 19.17b

Q: fopen isn't letting me open files like "$HOME/.profile" and "~/.myrcfile".


A: Under Unix, at least, environment variables like $HOME, along with the home-directory notation involving the ~ character, are expanded by the shell, and there's no mechanism to perform these expansions automatically when you call fopen.


prev up next   contents search
about this FAQ list   about eskimo   search   feedback   copyright

Hosted by Eskimo North