Unix and Linux Discussions Tagged with invalid |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
5,178 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
8,786 |
News, Links, Events and Announcements |
|
|
|
2 |
8,266 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
2,631 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
65,216 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
22,544 |
Shell Programming and Scripting |
|
|
|
9 |
34,036 |
AIX |
|
|
|
0 |
7,322 |
UNIX and Linux Applications |
|
|
|
5 |
7,153 |
Shell Programming and Scripting |
|
|
|
2 |
3,965 |
Shell Programming and Scripting |
|
|
|
4 |
3,338 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
0 |
10,302 |
IP Networking |
|
|
|
1 |
7,320 |
Chat with iBot - Our RSS Robot Girl |
|
|
|
1 |
8,867 |
Solaris |
|
|
|
1 |
18,993 |
UNIX for Dummies Questions & Answers |
|
|
|
15 |
32,921 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
12,943 |
Shell Programming and Scripting |
|
|
|
1 |
34,669 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
9,696 |
Shell Programming and Scripting |
|
|
|
1 |
4,237 |
Shell Programming and Scripting |
|
|
|
7 |
8,469 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
6,888 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
2,343 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,812 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,979 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,245 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,020 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,527 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,754 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,553 |
UNIX for Dummies Questions & Answers |
gd_invalid_dirfile(3) GETDATA gd_invalid_dirfile(3)
NAME
gd_invalid_dirfile -- obtain an pointer to an invalid DIRFILE object
SYNOPSIS
#include <getdata.h>
DIRFILE* gd_invalid_dirfile(void);
DESCRIPTION
The gd_invalid_dirfile() returns a pointer to a newly allocated, invalid DIRFILE object. Like any other DIRFILE object, the invalid
DIRFILE object should be de-allocated by calling gd_close(3) or gd_discard(3) when it is no longer needed.
The DIRFILE object returned may be passed to any other GetData function which requires one, but doing so will inevitably result in that
function failing with the GD_BAD_DIRFILE error.
A similar effect can be achieved by making an invalid gd_open(3) call, such as:
gd_open("", 0);
which also returns a pointer to an invalid DIRFILE object. The difference is that an invalid DIRFILE created in this way has a non-zero
dirfile error (obtainable with gd_error(3)), while the dirfile error of the invalid DIRFILE returned by gd_invalid_dirfile(3) is zero (in-
dicating success).
RETURN VALUE
This function always returns a pointer to a newly allocated, invalid DIRFILE object.
SEE ALSO
gd_close(3), gd_discard(3), gd_error(3), gd_open(3)
Version 0.7.0 20 October 2010 gd_invalid_dirfile(3)