Home > Archive > Tcl > February 2005 > Error in Tcl documentation?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Error in Tcl documentation?
|
|
| Googie 2005-02-25, 9:00 pm |
| In Tcl manuals (for 8.4) I can read description for Tcl_FSAccess 'mode'
argument, that it's:
int mode (in)
Mask consisting of one or more of R_OK, W_OK, X_OK and F_OK. R_OK,
W_OK and X_OK request checking whether the file exists and has read,
write and execute permissions, respectively. F_OK just requests
checking for the existence of the file.
But in the fact, there is no R_OK, W_OK, or any other *_OK. Well?
What's going on?
--
Pozdrawiam (Greetings)!
Googie
| |
| Steve Bold 2005-02-26, 3:59 pm |
| R_OK and friends are defined in system header files and are part of the interface to
the access() function in the operating system interface.
I think that a properly configured Tcl install will contain #includes to the appropriate
system header files, likely io.h or unistd.h, so maybe there's a configuration problem?
"Googie" <googie@no.spam.org> wrote in message news:cvob1d$jb5$1@atlantis.news.tpi.pl...
> In Tcl manuals (for 8.4) I can read description for Tcl_FSAccess 'mode'
> argument, that it's:
>
> int mode (in)
> Mask consisting of one or more of R_OK, W_OK, X_OK and F_OK. R_OK,
> W_OK and X_OK request checking whether the file exists and has read,
> write and execute permissions, respectively. F_OK just requests
> checking for the existence of the file.
>
> But in the fact, there is no R_OK, W_OK, or any other *_OK. Well?
> What's going on?
>
> --
> Pozdrawiam (Greetings)!
> Googie
| |
| Don Porter 2005-02-28, 9:00 pm |
| George Petasis wrote:
> I think that this is a tcl bug, and I suggest to file a bug at
> sourceforge...
Already done; Tcl Bug 945570.
--
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter@nist.gov Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|_______________________________________
_______________________________|
|
|
|
|
|