The Standard C Library by P. J. Plauger

The Standard C Library



Download eBook




The Standard C Library P. J. Plauger ebook
Format: pdf
ISBN: 0138380120, 9780138380120
Page: 514
Publisher: Prentice Hall


The C Library is part of the ANSI (American National Standard Institute) for the C Language. Plauger's The Standard C Library. Source code used must be completely unaltered with no hand optimisation allowed, other than in the standard C library functions. He tells you how to use, write, and test every function in the standard library. The question indicated that the first parameter would be a pointer to a zero-terminated string, but the second parameter was to be a size_t type -- a buffer size. Which will save C programmers time and money especially when working on large programming projects. The two source code modules must be compiled independently and then linked. The C standard now includes a library that provides extensions that can help mitigate security vulnerabilities, including bounds-checking interfaces. The second case describes how the standard C library reports errors; the library functions return zero on success and -1 on error. An Arduino specific function, like digitalRead or attachInterrupt comes from the Arduino core hardware libraries. If you're really interested in this, you should get a copy of P.J. To get more information about what error occurred, examine the error code in errno. The source code for these functions can be browsed here.