Such a short pieces of code are generally not copyrightable.

Anyway, I hadn't got it from the manpage (on my machine manpages are slightly different).