I know of a case where programmers for a proprietary company used code from "Numerical Recipes in C" in a product. Since they were honest people, they credited the source in the documentation, thinking that it was public domain code, free for the taking. Needless to say, it's not; the lawyers wound up sorting that one out.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds