Article 6H6YC man pages declarations

man pages declarations

by
marijan
from LinuxQuestions.org on (#6H6YC)
Code:void qsort(void base[.size * .nmemb], size_t nmemb, size_t size, int (*compar)(const void [.size], const void [.size]));
void qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *));The first line is delaclaration of qsort stdlib function in Debian.
The second line is from NetBSD. NetBSD looks like an old school.
I didn't notice when linux started with new declaration.
But I don't know why it is so? And where it is explained?
What are dots in .size and .nmemb?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments