Tk_GetUid - Online Linux Manual Page

Section : 3
Updated :
Source : Tk
Note : Tk Library Procedures


NAMETk_GetUid, Tk_Uid − convert from string to unique identifier

SYNOPSIS#include <tk.h> Tk_Uid Tk_GetUid(string)

ARGUMENTS . el .TP 15   ​char *string (in) String for which the corresponding unique identifier is desired. .\}

DESCRIPTIONTk_GetUid returns the unique identifier corresponding to string. Unique identifiers are similar to atoms in Lisp, and are used in Tk to speed up comparisons and searches. A unique identifier (type Tk_Uid) is a string pointer and may be used anywhere that a variable of type char * could be used. However, there is guaranteed to be exactly one unique identifier for any given string value. If Tk_GetUid is called twice, once with string a and once with string b, and if a and b have the same string value (strcmp(a, b) == 0), then Tk_GetUid will return exactly the same Tk_Uid value for each call (Tk_GetUid(a) == Tk_GetUid(b)). This means that variables of type Tk_Uid may be compared directly (x == y) without having to call strcmp. In addition, the return value from Tk_GetUid will have the same string value as its argument (strcmp(Tk_GetUid(a), a) == 0).

KEYWORDSatom, unique identifier
0
Johanes Gumabo
Data Size   :   6,280 byte
man-Tk_Uid.3Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   9 / 1,208,971
Visitor ID   :     :  
Visitor IP   :   3.144.38.118   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_escape_sequence_block|26|Tk_Uid.3|1|-1|143|.so T/T___k_GetUid.3.gz )         (rof_el|14|T___k_GetUid.3|290/90||. el .TP 15 )         (parse_manual_page_|254|T___k_GetUid.3|293/143|══─}─══|.══─}─══ )         (htmlprn|160|T___k_GetUid.3|293/143|.══─}─══|.══─}─══ )         (rof_escape_sequence|93|T___k_GetUid.3|293/144|\}|.\} )         (parse_manual_page_|254|T___k_GetUid.3|293/144|\}|.\} )