News for hackers. Stuff that matters.
Re:Stockholm parents built their own school app, then the ci... by munk-a on Thursday November 04, 2021 @03:08PM (#29111273)
I don't disagree (though when it comes to this particular case it's a question of what the opinion of Swedish courts is) but there's just a lot of grey area there.

Would you consider `ls` an API for exposing your filesystem?

Re:Stockholm parents built their own school app, then the ci... by iamstupidsimple on Thursday November 04, 2021 @03:22PM (#29111445)
> Would you consider `ls` an API for exposing your filesystem?

I don't see why not.

It has an interface for input and output, conforms to well known specifications and is publicly documented.

There's also multiple implementations behind the API.

Re:Stockholm parents built their own school app, then the ci... by randomswede on Friday November 05, 2021 @03:23AM (#29116315)
I would consider "ls" a presentation tool that uses an API to present information about a file system. I would consider stat/lstat/opendir/readdir/closedir the API that "ls" use to gather the information.
Re:Stockholm parents built their own school app, then the ci... by monocasa on Friday November 05, 2021 @12:34PM (#29121600)
When you combine it with shell scripts, I'd say that ls is an API to itself.