DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 and SCO OpenServer 5

CloseMemory(D3pccard)


CloseMemory -- shut down power to the socket

Synopsis (Unsupported service)

   #include <sys/types.h>
   #include <sys/lcs.h>
   #include <sys/lss.h>
   

int CardServices (CloseMemory, MemoryHandle_t *pMemoryHandle, int n1, int n2, int *n3, rm_key_t key);

Description

CloseMemory( ) closes an area of a memory card that was previously opened by a call to the OpenMemory(D3pccard) funtion.

Arguments


pMemoryHandle
Pointer to a MemoryHandle(D4pccard) structure.

n1
NULL

n2
0

n3
NULL

key
Resource manager key.

Return values


BAD_ARG_LENGTH
ArgLength is not equal to zero (0).

BAD_HANDLE
Invalid memory area handle.

SUCCESS
Memory successfully closed.

Usage

CardServices shuts down power to the socket if no remaining client is using it.

Context and synchronization

Blockable context

Hardware applicability

All

Version applicability

pccard: 3

References

CopyMemory(D3pccard), OpenMemory(D3pccard), ReadMemory(D3pccard), MemoryHandle(D4pccard), WriteMemory(D3pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005