I'm recoding ls in C, and while testing for possible weird behaviours I ran into this:
when I try to run the systems ls with the argument "" I get
*****s-MacBook-Pro:Documents ****$ ls ""
ls: fts_open: No such file or directory
I'm running OS X and I can't find any files named fts_open anywhere, and the only this I could find related to it is that fts_open is a UNIX command. What is the reason for that behaviour? Is it OS X specific? thanks