I guess it just answers the question "are we talking about a program or a function in a C library" in case they have the same name and have direct relationship with each other.
The example is there, mkdir(1) is a program that creates directories. This program's primary objective is to use mkdir(2), a function in sys/stat.h
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
My question is a bit off-topic. What's that
(1)
, or more in general(#)
that comes right after the name of a command?I've seen it on multiple times about *nix command line tools, but growing with a Windows background I've never got the grasp of it 😅
Short answer: manpages
Long answer: superuser.com/questions/297702/wha...
So it's essentially a way to tell what kind of command we're talking about, is it?
I guess it just answers the question "are we talking about a program or a function in a C library" in case they have the same name and have direct relationship with each other.
The example is there,
mkdir(1)
is a program that creates directories. This program's primary objective is to usemkdir(2)
, a function insys/stat.h