STR_GET1_DX_malloc man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

STR$GET1_DX (OpenVMS)					 STR$GET1_DX (OpenVMS)

NAME
       malloc - allocate memory

       strdup - allocate memory for a string an copy string into memory

       STR$GET1_DX - Allocate one dynamic string

EXPLAINATION
       The  Digital UNIX malloc function provides functionality similar to the
       OpenVMS STR$GET1_DX string manipulation routine.	 Because UNIX  strings
       are  just pointers to memory buffers, the only action required to allo‐
       cate space for a string is to allocate the memory.  Be sure to call the
       free  function  on any memory allocated with the malloc family of func‐
       tions once the memory is no longer needed.  The	strdup	function  will
       allocate	 memory	 and  copy the string passed to it as an argument into
       the allocated memory.  Be sure to free this memory once it is no longer
       needed.	 The  amount of memory allocated by strdup is only the size of
       the string plus the null terminating character.

RELATED INFORMATION
       Digital UNIX Functions:

	   malloc(3), free(3), strdup(3) delim off

							 STR$GET1_DX (OpenVMS)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net