Content-type: text/html Manpage of SAFE_INIT_ID_RANGE_LIST

SAFE_INIT_ID_RANGE_LIST

Section: (3)
Updated: 2011-07-26
Index Return to Main Contents
 

NAME

safe_init_id_range_list, safe_destroy_id_range_list - create and destroy id range lists  

SYNOPSIS

#include safe_id_range_list.h

struct safe_id_range_list;
typedef struct safe_id_range_list safe_id_range_list;

int safe_init_id_range_list(safe_id_range_list list);
void safe_destroy_id_range_list(safe_id_range_list list);  

DESCRIPTION

safe_init_id_range_list initializes a safe_id_range_list structure. This function must be called before the function can be used.

safe_destroy_id_range_list frees the memory used by a safe_id_range_list data structure and should be called after all uses of the safe_id_range_list structure are complete.  

Parameters

list
The safe_id_range_list to operate on. The value must be non-NULL.
 

RETURN VALUE

safe_init_id_range_list return 0 on success and -1 on failure. safe_destroy_id_range_list returns nothing. In the case of an error, errno is set appropriately  

ERRORS

EINVAL
The list parameter was NULL.
ENOMEM
safe_init_id_range_list failed to allocate memory.
 

AUTHOR

James A. Kupsch  

SEE ALSO

safe_add_id_to_list(3) safe_add_id_range_to_list(3)

http://research.cs.wisc.edu/mist/safefile


 

Index

NAME
SYNOPSIS
DESCRIPTION
Parameters
RETURN VALUE
ERRORS
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 15:16:58 GMT, August 12, 2011