Sms_getphysvolsinpoolend, Sms_getphysvolsinpoolnext, Syntax for c programmers sms_getphysvolsinpoolend – HP NonStop G-Series User Manual
Page 123: Syntax for c programmers sms_getphysvolsinpoolnext
![background image](/manuals/396790/123/background.png)
Guardian Procedures
HP NonStop Storage Management Foundation User's Guide—523562-008
8-11
SMS_GETPHYSVOLSINPOOLEND_
Syntax for C Programmers
SMS_GETPHYSVOLSINPOOLEND_
The SMS_GETPHYSVOLSINPOOLEND_ procedure terminates a session for
discovering physical volumes associated with a specific storage pool. Call this
procedure after calling SMS_GETPHYSVOLSINPOOLNEXT_ for the last time and
before calling SMS_GETPHYSVOLSINPOOLSTART_ again.
error
returned value
INT
indicates the outcome of the operation. If an error occurs, a file system error
number is returned. If no error occurs, FEOK (zero) is returned.
Syntax for C Programmers
SMS_GETPHYSVOLSINPOOLNEXT_
The SMS_GETPHYSVOLSINPOOLNEXT_ procedure retrieves the name of a physical
volume associated with a particular storage pool and, optionally, configuration and
status information for the physical volume. Before calling this procedure, call
SMS_GETPHYSVOLSINPOOLSTART_ to identify the storage pool. You can call
SMS_GETPHYSVOLSINPOOLNEXT_ multiple times to discover multiple physical
#include
short SMS_GETPHYSVOLINFOFROMPOOL_
( char *pool-name
,short pool-name-length
,char *vol-name
,short vol-name-length
,short*vol-type
,[char*vol-config-buffer
,short vol-config-buffer-max-length
short vol-config-buffer-out-length]
,[char*vol-status-buffer
,short vol-status-buffer-max-length
short vol-status-buffer-out-length]
);
error := SMS_GETPHYSVOLSINPOOLEND_
(
)CALLABLE, EXTENSIBLE;
#include
short SMS_GETPHYSVOLSINPOOLEND_();