Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptremovedata.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptremovedata.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptremovedata.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptremovedata.html on line 8

PtRemoveData()

Remove a link from a data chain

Synopsis:

int PtRemoveData( PtDataHdr_t **ptr, 
                  long type,
                  long subtype );

Library:

ph

Description:

This function removes a link from the ptr data chain. If a remove function is provided, it's called prior to the release of the node and data:

Returns:

-1
The data wasn't found.
Pt_CONTINUE
The data was found and released.
Pt_HALT
The data was found, the node was released, and the data was taken care of by the remove function.
Pt_END
The node wasn't removed; refused by the remove function.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAddData(), PtFindData(), PtFindNextData(), PtUnlinkData()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptremovedata.html on line 128

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptremovedata.html on line 128