Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_PT_DETACH

# EOS_PT_DETACH

This function detaches from a point data set. This function should be run before exiting from the point file for every point opened by EOS_PT_CREATE or EOS_PT_ATTACH.

## Examples

status = EOS_PT_DETACH(pointID)

## Syntax

Result = EOS_PT_DETACH(pointID)

## Return Value

Returns SUCCEED (0) if successful and FAIL (–1) otherwise.

## Arguments

### pointID

Point id (long) returned by EOS_PT_CREATE or EOS_PT_ATTACH

## Keywords

None

## Version History

5.2 | Introduced

## See Also

EOS_PT_ATTACH