wsreg_set_location(3WSREG) Product Install Registry Library Functions wsreg_set_location(3WSREG)NAME
wsreg_set_location, wsreg_get_location - set or get the location of a component
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include <wsreg.h>
int wsreg_set_location(Wsreg_component *comp, const char *location);
char *wsreg_get_location(const Wsreg_component *comp);
DESCRIPTION
The wsreg_set_location() function sets the location specified by location into the component specified by comp. Every component must have
a location before being registered. If a location has already been set into the specified component, the resources associated with the
previously set location are released.
The wsreg_get_location() function gets the location string from the component specified by comp. The resulting string must be released by
the caller.
RETURN VALUES
The wsreg_set_location() function returns a non-zero value if the location was set correctly; otherwise 0 is returned.
The wsreg_get_location() function returns a copy of the location from the specified component.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO wsreg_initialize(3WSREG), attributes(5)SunOS 5.10 22 Sep 2000 wsreg_set_location(3WSREG)
Check Out this Related Man Page
wsreg_clone_component(3WSREG) Product Install Registry Library Functions wsreg_clone_component(3WSREG)NAME
wsreg_clone_component - clone a component
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include <wsreg.h>
Wsreg_component *wsreg_clone_component(const Wsreg_component *comp);
DESCRIPTION
The wsreg_clone_component() function clones the component specified by comp.
RETURN VALUES
The wsreg_clone_component() returns a pointer to a component that is configured exactly the same as the component specified by comp.
USAGE
The resulting component must be released through a call to wsreg_free_component() by the caller. See wsreg_create_component(3WSREG).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO wsreg_create_component(3WSREG), wsreg_initialize(3WSREG), wsreg_get(3WSREG), attributes(5)SunOS 5.10 22 Sep 2000 wsreg_clone_component(3WSREG)
Can anyone tell me how I can change the default location for a netbackup installation to another location on my box? The default location is too small and I want to install in another location that has the adequate space. The Netbackup user manual is USELESS!!:mad::mad: (3 Replies)
I need help in forming a script to copy files from one location which has a sub directory structure to another location with similar sub directory structure,
say location 1,
/home/rick/tmp_files/1-12/00-25/
here 1-12 are the number of sub directories under tmp_files and 00-25 are sub... (1 Reply)
Hii
I need to find the location of a file . i know the beginning of the name
but i dont know the directory its saved in
how can i find the location ???
Please help
:confused: (4 Replies)
Dear Gurus,
I need you to advice or suggestion about the best solution to copy data around 200-300G from serverA(location A) to serverB(location B). Normally, I will share folder and then copy but it takes too long time(about 2 days).
Do you have any suggestion or which way should be... (9 Replies)
Hi,
When i am trying to ftp COBOL generated data sets which contain comp values to AIX in ASCII mode. the comp values are getting corrupted. If i ftp the data set in binary mode it is working properly, but for this i have to change some compiler options in the COBOL. Also if i want to use the... (5 Replies)
I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt.
Please help me how to do this in shell script. (1 Reply)
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)