File tree Expand file tree Collapse file tree 3 files changed +5
-379
lines changed
Expand file tree Collapse file tree 3 files changed +5
-379
lines changed Original file line number Diff line number Diff line change 13361336\item Most of the information listed here can be found in the manual page for the
13371337Solaris dynamic linker, \texttt {ld.so.1(1) }, and much more in the excellent
13381338\emph {Linkers and Libraries Guide } on \texttt {docs.oracle.com }. If you use
1339- FreeBSD, its dynamic linker is \texttt {ld-elf.so.1 }, on Linux distros it is
1340- usually \texttt {ld-linux.so.1 }, it is \texttt {rld } on SGI IRIX etc.
1339+ FreeBSD, its dynamic linker is \texttt {ld-elf.so.1 }, on Linux distributions it
1340+ is usually \texttt {ld-linux.so.1 }, it is \texttt {rld } on SGI IRIX etc.
13411341\item You can also configure the dynamic linker via setting environment
13421342variables. For example, try this on Solaris:
13431343\begin {verbatim }
Original file line number Diff line number Diff line change 1919int \emph {\texttt {semnum } }, int \emph {\texttt {cmd } }, ...); }
2020]]])
2121\begin {itemize }
22- \item controlling function, optional 4th argument \texttt {arg } is of the
22+ \item controlling function, optional fourth argument \texttt {arg } is of the
2323\texttt {union~semun } type.
2424\end {itemize }
2525ifdef([[[NOSPELLCHECK]]], [[[
6363\item possible values of \texttt {cmd }:
6464 \begin {itemize }
6565 \item \texttt {GETVAL } \dots {} returns semaphore value
66- \item \texttt { \emsl {SETVAL} } \dots {} \emsl {sets semaphore to value}
66+ \item \emsl { \texttt {SETVAL }} \dots {} \emsl {sets semaphore to value}
6767 \texttt {arg.val }
6868 \item \texttt {GETPID } \dots {} PID of the process that performed the last op.
6969 \item \texttt {GETNCNT } \dots {} number of processes waiting on bigger value
7070 \item \texttt {GETZCNT } \dots {} number of processes waiting for zero value
7171 \item \texttt {GETALL } \dots {} saves the values of all semaphores to
7272 \texttt {arg.array }
73- \item \texttt {SETALL } \dots {} sets all sem. values according to
73+ \item \texttt {SETALL } \dots {} sets all values according to
7474 \texttt {arg.array }
7575 \item \texttt {IPC\_ STAT } \dots {} saves number of semaphores, access rights,
7676times of the last \texttt {semctl() } and \texttt {semop() } into \texttt {arg.buf }
You can’t perform that action at this time.
0 commit comments