logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

systempapername, defaultpapername, systempapersizefile, defaultpapersizefile - return names for managing

Description

systempapername() returns the name of the default paper to be used by a program.  This name  is  obtained
       by  looking  in that order at the PAPERCONF environment variable, at the contents of the file returned by
       systempapersizefile() or by using defaultpapername() as a last chance.

       defaultpapername() returns the name of the default paper to use if it is impossible to get its name  from
       the environment.

       systempapersizefile() returns the path of the papersize file to use.  This path is obtained by looking at
       the PAPERCONF environment variable or by calling defaultpapersizefile().

       defaultpapersizefile returns the path of the default papersize file.

Environment

PAPERSIZE           Paper size to use regardless of what the papersize file contains.

       PAPERCONF           Full path to a file containing the paper size to use.

Files

/etc/papersize      Contains the name of the system-wide default paper size to be used.

Name

       systempapername,  defaultpapername, systempapersizefile, defaultpapersizefile - return names for managing
       system paper information

See Also

papersize(5)

                                                17 September 2001                             SYSTEMPAPERNAME(3)

Synopsys

#include<paper.h>constchar*systempapername(void)constchar*defaultpapername(void)constchar*systempapersizefile(void)constchar*defaultpapersizefile(void)

See Also