z/OS UNIX System Services File System Interface Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


BPX1VPC, BPX4VPC (v_pathconf)

z/OS UNIX System Services File System Interface Reference
SA23-2285-00

The following code obtains current values of configurable options of a file or directory whose vnode token is in VNODETOK. For the callable service, see v_pathconf (BPX1VPC, BPX4VPC) — Get pathconf information for a directory or file. For the data structures, see BPXYATTR — Map file attributes for v_ system calls, BPXYOSS — Map operating system specific information and Mapping macros in z/OS UNIX System Services Programming: Assembler Callable Services Reference.
          MVC   OSSSTOR,OSS           Initialize BPXYOSS area
          MVC   ATTRSTOR,ATTR         Initialize BPXYATTR area
          CALL  BPX1VPC,                                                +
                (VNODETOK,            Input: File Vnode token           +
                OSSSTOR,              Input/output: BPXYOSS             +
                =A(PCFG#LEN),         Input: PCFG length                +
                BUFFERA,              Output: PCFG buffer area          +
                =A(ATTR#LENGTH),      Input: BPXYATTR length            +
                ATTRSTOR,             Output: BPXYATTR                  +
                RETVAL,               Return value: PCFG len or -1      +
                RETCODE,              Return code                       +
                RSNCODE),             Reason code                       +
                VL,MF=(E,PLIST)       ----------------------------------
Note: PCFG#LEN is defined as follows. It is not constant in the BPXYPCF macro.

                BPXYPCF               pathconf
      PCFG#LEN  EQU                   *-PCFG
                                                         

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014