Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited by sciSpider v2.1 (sch jbop) (X_X)@==(Q_Q)@

The readlink() function reads where a link points to. It makes no effort to NULL-terminate its second argument, buffer. Instead, it just returns the number of characters it has written.

Non-Compliant

...

Code Example

If len is equal to sizeof(buf), the NULL terminator will be written one byte past the end of buf.

...