wsreg_set_unique_name(3WSREG) Product Install Registry Library Functions wsreg_set_unique_name(3WSREG)NAME
wsreg_set_unique_name, wsreg_get_unique_name - set or get the unique name of a component
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include <wsreg.h>
int wsreg_set_unique_name(Wsreg_component *comp, const char *unique_name);
char *wsreg_get_unique_name(const Wsreg_component *comp);
DESCRIPTION
The wsreg_set_unique_name() function sets the unique name specified by unique_name in the component specified by comp. Every component
must have a unique name before being registered. If a unique name has already been set in the specified component, the resources associ-
ated with the previously set unique name are released.
The wsreg_get_unique_name() function gets the unique name string from the component specified by comp. The resulting string must be
released by the caller.
RETURN VALUES
The wsreg_set_unique_name() function returns a non-zero value if the unique name was set correctly; otherwise it returns 0.
The wsreg_get_unique_name() function returns a copy of the unique name 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_unique_name(3WSREG)
Check Out this Related Man Page
wsreg_set_id(3WSREG) Product Install Registry Library Functions wsreg_set_id(3WSREG)NAME
wsreg_set_id, wsreg_get_id - set or get the uuid of a component
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include <wsreg.h>
int wsreg_set_id(Wsreg_component *comp, const char *uuid);
char *wsreg_get_id(const Wsreg_component *comp);
DESCRIPTION
The wsreg_set_id() function sets the uuid (universal unique identifier) specified by uuid into the component specified by comp. If a uuid
has already been set into the specified component, the resources associated with the previously set uuid are released.
The wsreg_get_id() function returns a copy of the uuid of the component specified by comp. The resulting string must be released by the
caller.
RETURN VALUES
The wsreg_set_id() function returns non-zero if the uuid was set correctly; otherwise 0 is returned.
The wsreg_get_id() function returns a copy of the specified component's uuid.
USAGE
Generally, the uuid will be set into a component by the wsreg_create_component(3WSREG) function, so a call to the wsreg_set_id() is not
necessary.
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), attributes(5)attributes(5)SunOS 5.10 22 Sep 2000 wsreg_set_id(3WSREG)
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)
Can anyone tell me what unique does? I accidentally typed unique instead of uniq into my terminal and it accepted it. I can't find a man page, an info page, or anything useful on google. (1 Reply)
I have 84 files with the following names splitseqs.1, spliseqs.2 etc.
and I want to change the .number to a unique filename.
E.g.
change splitseqs.1 into splitseqs.7114_1#24
and
change spliseqs.2 into splitseqs.7067_2#4
So all the current file names are unique, so are the new file names.... (1 Reply)
Request: grep to find given matching patern and return unique values, eliminate the duplicate values
I have to retrieve the unique folder on the below file contents like;
/app/oracle/build_lib/pkg320.0_20120927
/app/oracle/build_lib/pkg320.0_20121004_prof... (5 Replies)
In a incoming folder i have list of files like below,i want to pick the unique files to process the job. if same file contain more than one then it should pick latest date modified file to process.
drwxrwsrwx 2 n308799 infagrp 256 May 20 17:42 Final_Working
drwxrwsrwx 2... (1 Reply)
I would like to print unique lines without sort or unique. Unfortunately the server I am working on does not have sort or unique. I have not been able to contact the administrator of the server to ask him to add it for several weeks. (7 Replies)
When I use the below awk to count the unique lines in $4 for the input it seems to work. The answer is 3 because $4 is only unique 3 times in all the entries. However, when I use the same on actual data I get 56,536 and I know the answer should be 56,548. My question is there a better way to... (8 Replies)
I can find and replace text when the delimiters are unique. What I cannot do is replace text using two NON-unique delimiters:
Ex.,
"This html code <text blah >contains <garbage blah blah >. All tags must go,<text > but some must be replaced with <garbage blah blah > without erasing other... (5 Replies)