Legality Of Re-Implementing An Existing API (e.g. GNU implementing the UNIX APIs)
        Posted  
        
            by splicer
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by splicer
        
        
        
        Published on 2010-04-07T10:10:00Z
        Indexed on 
            2010/04/07
            10:13 UTC
        
        
        Read the original article
        Hit count: 290
        
I've often wondered about this. I'm not looking for legal advice, just casual opinions ;)
If some company publishes an API on the web for their closed-source library, would it be legal for another party to release an open-source implementation of that API? Are function declarations considered source code?
Take GNU implementing the UNIX APIs, for example. The UNIX standard gives the following function declaration and defines its required behaviour in English:
char * mktemp(char *template);
Now, consider an API that lists and declares and describes several thousand (more much complex) functions, enums, etc.; an API which defines a solution to a non-trival set of problems. If an open-source project publishes C headers that copy (verbatim) the function definitions contained in the closed-source company's published API, doesn't that violate some sort copyright law?
© Stack Overflow or respective owner