Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001808 [1003.1(2016/18)/Issue7+TC2] Shell and Utilities Editorial Clarification Requested 2024-02-03 01:44 2024-02-03 01:44
Reporter cquike View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
Name Enrique Garcia
Organization
User Reference
Section getconf
Page Number (page or range of pages)
Line Number (Line or range of lines)
Interp Status ---
Final Accepted Text
Summary 0001808: Add option -a to getconf utility
Description Option -a of getconf is widely available in different UNIX systems and is used to display all the configuration values. Adding that to the standard would add a portable way to retrieve all the values, since right now it is not possible to know using only the POSIX getconf options which values the implementation defines in addition to the standard.

It seems that all major UNIX-like OS hve that option:

Freebsd (https://man.freebsd.org/cgi/man.cgi?query=getconf) [^]
Linux (glibc, https://manpages.debian.org/bullseye/libc-bin/getconf.1.en.html) [^]
Solaris (https://docs.oracle.com/cd/E88353_01/html/E37839/getconf-1.html) [^]
AIX (https://www.ibm.com/docs/en/aix/7.1?topic=g-getconf-command) [^]
macos (https://manrocks.org/macosx/1/getconf) [^]
Desired Action In the SYNOPSIS section of getconf add at the end:

       getconf -a [file]

In the DESCRIPTION section of getconf add:

       In the third synopsis form, the getconf utility shall write to the standard output the value of all the system variables defined by sysconf(), confstr() as well as the constnats listed under the headings ``Maximum Values'' and ``Minimum Values'' in the description of the <limits.h> header in the Base Definitions volume of POSIX.1-2017. If file is provided, all path configuration variables are reported for file using pathconf() function defined in the System Interfaces volume of POSIX.1-2017. In both cases, the implementation may add other local values.

Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2024-02-03 01:44 cquike New Issue
2024-02-03 01:44 cquike Name => Enrique Garcia
2024-02-03 01:44 cquike Section => getconf
2024-02-03 01:44 cquike Page Number => (page or range of pages)
2024-02-03 01:44 cquike Line Number => (Line or range of lines)


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker