HomeFreeBSD

getprogname.3: Add an example

Description

getprogname.3: Add an example

It shows the difference between getprogname() and argv[0].

Reviewed by: yuripv
Approved by: yuripv (src)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D27204

(cherry picked from commit 1ffdcdadf61423dd02ddad82fc4f3f6c39090c8c)

Details

Provenance
0mpAuthored on Apr 17 2021, 9:26 PM
Reviewer
yuripv
Differential Revision
D27204: getprogname.3: Show difference between getprogname() and argv[0] in an example
Parents
rG90146cfa3180: grep: Fix an incorrect description of the -C flag
Branches
Unknown
Tags
Unknown