05-16-2011
You wont be lost....I wasn't
6 More Discussions You Might Find Interesting
1. Programming
Is there anyone who still uses CMI to connect to the legacy system , my c applications do uses the binaries and libraries for using the CMI functionality but i do not have access to the original source code , and since this is a very old stuff , i just could not get any source to get to knwo the... (0 Replies)
Discussion started by: dino_leix
0 Replies
2. Solaris
I want to add auto startup and shutdown script to Solaris 10's legacy services as they run in Solaris 9 or in Linux.
To make this work, I created the crontrol script in /etc/init.d and then link it to /etc/rc0.d and /etc/rc2.d directories. rc0.d is for shutdown and rc2.d is for srat. After I... (15 Replies)
Discussion started by: duke0001
15 Replies
3. Programming
I need help locating the tables that hold the demograhic data in this system on an AIX box. Does anyone know the path? (0 Replies)
Discussion started by: Chelcye
0 Replies
4. Solaris
Hi All,
I have a problem as follows.
Historically, there was an Ultra10 workstation running Solaris 8 using automount to access NFS volumes on a Solaris 8 server.
The Ultra 10 was retired and the Solaris 8 server has been migrated to a Legacy Container (Solaris 8 Branded, whole root,... (9 Replies)
Discussion started by: hicksd8
9 Replies
5. Solaris
Hi Folks,
Just a quick question here, about Legacy Zones. Well more about how to determine if you are actually in one, on logging into a legacy zone - is there a quick way of checking that?
Regards
Gull04 (7 Replies)
Discussion started by: gull04
7 Replies
6. UNIX for Advanced & Expert Users
Hi,
All of our production servers are installed with Apache and OpenSSL from source and not yum.
My boss has assigned me with a task of upgrading all production servers Apache httpd & openssl to the latest patch from Centos Repo.
Is it possible to do this via yum? Please suggest the best... (10 Replies)
Discussion started by: anaigini45
10 Replies
LEARN ABOUT OPENDARWIN
tcl_getopenfile
Tcl_GetOpenFile(3) Tcl Library Procedures Tcl_GetOpenFile(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tcl_GetOpenFile - Get a standard IO File * handle from a channel. (Unix only)
SYNOPSIS
#include <tcl.h>
int
Tcl_GetOpenFile(interp, string, write, checkUsage, filePtr)
ARGUMENTS
Tcl_Interp *interp (in) Tcl interpreter from which file handle is to be obtained.
CONST char *string (in) String identifying channel, such as stdin or file4.
int write (in) Non-zero means the file will be used for writing, zero means it will be used for reading.
int checkUsage (in) If non-zero, then an error will be generated if the file wasn't opened for the access indicated by
write.
ClientData *filePtr (out) Points to word in which to store pointer to FILE structure for the file given by string.
_________________________________________________________________
DESCRIPTION
Tcl_GetOpenFile takes as argument a file identifier of the form returned by the open command and returns at *filePtr a pointer to the FILE
structure for the file. The write argument indicates whether the FILE pointer will be used for reading or writing. In some cases, such as
a channel that connects to a pipeline of subprocesses, different FILE pointers will be returned for reading and writing. Tcl_GetOpenFile
normally returns TCL_OK. If an error occurs in Tcl_GetOpenFile (e.g. string didn't make any sense or checkUsage was set and the file
wasn't opened for the access specified by write) then TCL_ERROR is returned and the interpreter's result will contain an error message. In
the current implementation checkUsage is ignored and consistency checks are always performed. |
Note that this interface is only supported on the Unix platform.
KEYWORDS
channel, file handle, permissions, pipeline, read, write
Tcl 8.0 Tcl_GetOpenFile(3)