| Syntax |
scc_file_locked <file name> |
| Arguments |
|
<file name>
|
The name of the file you are determining whether you have locked.
|
|
Return Value |
| Code Name |
Code |
String Return |
| TCL_OK |
0 |
scc_file_locked( <file> ) no |
| TCL_ERROR |
1 |
scc_file_locked( <file> ) yes |
| TCL_ERROR |
1 |
scc_file_locked( <file> ) error: <revision control system error> |
| TCL_ERROR |
1 |
error: unable to write to log file |
|
| Description |
Determines whether you, that is, the user specified by the environment variable "VCSID," have locked any version of the specified file. |