Questions tagged [manpage]

Man pages are the documentation pages that come preinstalled with almost all substantial Unix and Unix-like operating systems

https://en.wikipedia.org/wiki/Man_page

486 questions
2
votes
1 answer

how can I install section 0p of man pages?

On my pc with debian 11 installed, I only have sections 1 to 9 of the manual. However on the online linux manual there's also a section 0p containing the C header files, in which I am interested: is it possible to install section 0p locally? The…
2
votes
1 answer

What is unlocked_stdio in C?

So, I was looking for random linux manual pages, when I encountered this weird one, you can see it by executing "man unlocked_stdio", or you can view it in your browser by going to this page So, what is this for? It has weird functions like…
dfmaaa1
  • 67
  • 6
2
votes
1 answer

What exactly is the data parameter of the gluTessVertex()?

Reading the manual page of the gluTessVertex(), the definition goes like this: void gluTessVertex( GLUtesselator* tess, GLdouble * location, void * data); I would imagine that the location is the vertex and for data, at least to me, it sounds like…
Alexis Wilke
  • 19,179
  • 10
  • 84
  • 156
2
votes
2 answers

is there a special search command for options and commands in man-pages (in less)?

Question: using the less command in any linux shell (i'm using bash as probably most people do), is there a way to search a file only for it's commands or options? So, to be more precise: if i want to quickly find the description for one special…
2
votes
0 answers

where to look for docs of write function of C

I did man open it shows the proper function with the arguments and details. But when I do man write it shows the write command and not the definition for the C function which is used like write(fd, a, length) Where do I access the Docs for this C…
pensee
  • 47
  • 4
2
votes
1 answer

Where is the man page for the format specifiers in the C function printf?

I cannot find the section for format specifiers in the C printf function. I've done a man printf on my Linux distro and it doesn't provide that information. So far, I've just been googling everytime I need to find out a format. I'm sure that this…
Al-Baraa El-Hag
  • 770
  • 6
  • 15
2
votes
1 answer

How can I define sections without === Headings for RDoc::usage()?

I like to generate man pages using '--help' output via help2man and txt2man. Ruby's RDoc system is very convenient, but I can't seem to configure RDoc::usage in exactly the way that I want. Here's a sample script: #!/usr/bin/env ruby # # ===…
guns
  • 10,550
  • 3
  • 39
  • 36
2
votes
1 answer

Is it possible to not-install docs with ExeUtils::MakeMaker?

I'm looking into setting up Perl micro services with Docker and Alpine. Alpine's convention is not be weighed down by docs/man pages by default. If my Makefile.PL uses ExeUtils::MakeMaker is there a way to not-install docs?
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
2
votes
3 answers

gettimeofday() - Why use both seconds and microseconds?

I need to use the function gettimeofday for a home assignment, and after reading the man page and looking some online examples, I can't see why people sometimes use both the tv_sec member of the struct and tv_usec member of the struct. The man page…
Tegernako
  • 289
  • 1
  • 9
2
votes
2 answers

In macOS, how can I get the manual (man) page of the original (BSD) command when I have installed a GNU alternative?

So I have installed GNU coreutils like so : brew install coreutils Now I have 2 versions of my core utilities. For example : $>which -a stat /usr/local/opt/coreutils/libexec/gnubin/stat /usr/bin/stat /usr/local/opt/coreutils/libexec/gnubin/stat is…
2
votes
1 answer

Why does Linux NETLINK man page provide C++ examples but not C?

I dealt with netlink API and examine its man pages netlink(3) and netlink(7). Suddenly I faced with such construction: struct msghdr msg; msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 }; I tried it in C, but it gives the error: error: expected…
z0lupka
  • 236
  • 4
  • 19
2
votes
1 answer

No man pages available even though clearly there

I love the fish shell. It makes perfect sense to me, but there's one problem I've been having. No matter what I try, I can't get man to work. When I type man ls for example, I get No manual entry for ls. Same for every other command. On bash, of…
Thomas Jay Rush
  • 401
  • 4
  • 12
2
votes
0 answers

how come "--help" doesn't work on new catalina zsh shell

typing: zsh --help gives me the expected: Usage: zsh [] [ ...] Special options: --help show this message, then exit --version show zsh version number, then exit -b end option processing, like -- -c …
2
votes
1 answer

Extract example from python help into ipython session

In ipython I can run something such as import pandas as pd pd.DataFrame.join? and view help for DataFrame. At the end of the help file there are often examples, such as Another option to join using the key columns is to use the `on` parameter.…
baxx
  • 3,956
  • 6
  • 37
  • 75
2
votes
1 answer

man: MANPATH environment variable list too long (manpath list too long)

When having excessively long MANPATH env-vars I end up in a problem with this error: $> man man: manpath list too long To figure out when the manpath list is too long I created this small script: #!/bin/bash export MANPATH= for i in…
nickpapior
  • 752
  • 1
  • 8
  • 14