MGMT_MakeCommandVirtualFile

Defines a virtual file that has a write function for the default datastream. The write function generates a response that can be read from the results buffer.

Service:VFS

Syntax

#include <nssPubs.h>

STATUS MGMT_MakeCommandVirtualFile (
   Key_t    key,
   utf8_t  *writeRoutine,
   utf8_t  *writeParm);

Parameters

key

Specifies the key returned from zCreate or zOpen in File System Services (64-Bit).

writeRoutine

Points to the NULL-terminated name of the public symbol for the write function.

writeParm

Points to the string that is passed as the parm parameter to the write function.

Return Values

The return status should either be zOK or a valid NSS error code.