I am using the chdir()
C function to allow a user to change directory.
The function however, doesn't recognize '~'. Do I need to do any explicit conversion, so chdir
doesn't recognize what ~ means? Because mine isn't working. Or am I doing something wrong?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…