It depends on what you want from it. What exactly are you looking for?
MAY give you much of what you may want, if you return
However, if you really, alsolutely need to see the output of ls -l, then just do
So there is no need for an equivalent thereof, just execute the system call itself.