/****************************************************************************** Copyright (c) 1999 Unigraphics Solutions, Inc. Unpublished - All Rights Reserved *******************************************************************************/ /* In the following example, if a_path has an nth(as specified by index) directory then it will be copied into dir. sample code below */ int index; char *dir = NULL; int error_value; tag_t a_path; ... error_value = UF_DIRPATH_ask_nth_dir( a_path, index, &dir );