Sponsored Content
Full Discussion: Variable declaration
Top Forums Programming Variable declaration Post 53187 by laila63 on Wednesday 7th of July 2004 03:11:03 PM
Old 07-07-2004
Question Variable declaration

what does this mean when a variable is declared as

Code:
register int i;

Thanks. Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help with variable declaration

I declared a variable x that gets the count(*) from a table. The table name is also defined as a variable. What's wrong with this statment : X=” select count(*) from ${table_name}“ then y = `${X}${table_name}' echo ${y} It throws an error saying count not found. Please... (1 Reply)
Discussion started by: dsravan
1 Replies

2. Shell Programming and Scripting

double variable declaration

i have variables with different values as below in KSH AU_Holiday=1 SG_Holiday=0 KR_Holiday=1 JP_Holiday=0 $country_cd is the second variable which be one of 'AU' 'SG' 'KR' 'JP' which comes in a for loop. form that i need to derive the variable like first one and check whether it is equal... (3 Replies)
Discussion started by: kotasateesh
3 Replies

3. Shell Programming and Scripting

Global variable declaration in shell scripting

Hi all, How to print variable value which i have assigned inside for loop because that variable scope is local, but i want to use that variable outside for loop. Awaiting your great help Thanks, Susil (1 Reply)
Discussion started by: susilgandhi
1 Replies

4. Shell Programming and Scripting

Perl variable declaration

what is the meaning of this particular line of code in perl. my %global_port2lanid = (); (2 Replies)
Discussion started by: suvenduperl
2 Replies

5. Shell Programming and Scripting

Merge Static and dynamic parts in variable declaration

Dear Unix experts I want to define a variable which contains dynmic and static part, daynamic part is the first field. Sample of data dddd aaaa sssss 12345 ssss 2323 234234 4242 dddd 3223 34234 54353 ssss 24234 3434 42342 dddd rwrw 423423 werwer nawk 'BEGIN {FS=" "}{... (4 Replies)
Discussion started by: yahyaaa
4 Replies

6. Shell Programming and Scripting

Doubt in Perl Variable declaration

Anyone please say what is the difference between $var and ${var} in perl Sometimes $var used and sometimes ${var} used in same program. Thanks in Advance, Prabhu ---------- Post updated at 09:34 AM ---------- Previous update was at 05:59 AM ---------- Any one please clarify (1 Reply)
Discussion started by: prsampath
1 Replies

7. Emergency UNIX and Linux Support

Merge Static and dynamic parts in variable declaration

Dear Unix experts Moved from "Shell Programming and Scripting " I want to define a variable which contains dynmic and static part, daynamic part is the first field. Sample of data dddd aaaa sssss 12345 ssss 2323 234234 4242 dddd 3223 34234 54353 ssss 24234 3434 42342 dddd rwrw 423423... (2 Replies)
Discussion started by: yahyaaa
2 Replies

8. Shell Programming and Scripting

variable declaration

Hi Guys, What does this mean actually ? Can somebody give me any explanation ? x=${x:=1} Thanks (2 Replies)
Discussion started by: amit.behera
2 Replies

9. Shell Programming and Scripting

variable declaration

how to check 1. If variable is declared or not 2. If any value if assigned to variable or not. in UNIX shell script (6 Replies)
Discussion started by: ace_friends22
6 Replies

10. UNIX for Dummies Questions & Answers

bash variable string declaration

Hello, Why is this not working in a script? files="test.fsa" echo $files for file in $files do if then echo "$file does not exist." fi run a command done I get an error saying (3 Replies)
Discussion started by: verse123
3 Replies
_UNW_getGR(3X)															    _UNW_getGR(3X)

NAME
_UNW_getGR(), _UNW_getAR(), _UNW_getAlertCode(), _UNW_getBR(), _UNW_getCFM(), _UNW_getFR(), _UNW_getGR_NaT(), _UNW_getIP(), _UNW_getKernel- SavedContext(), _UNW_getPR(), _UNW_getPreds(), _UNW_clearAlertCode() - query values in unwind library data structure SYNOPSIS
DESCRIPTION
returns the value of a numbered general register num in the object pointed to by parameter p. returns the value and NaT bit of a numbered general register num in the object pointed to by parameter p. The values are returned via a structure of type The structure's value field contains the register value and the structure's NaT field contains the register NaT bit. returns the value of a numbered floating point register num in the object pointed to by parameter p. The values are returned via a struc- ture of type The structure's first_container and second_container fields contain the two consecutive double words of the Floating point register Spill/Fill memory format. See returns the value of a numbered branch register num in the object pointed to by parameter p. returns the value of an enumerated application register num in the object pointed to by parameter p. The enumeration type is used for accessing application registers. returns the value of a numbered predicate register num in the object pointed to by parameter p. returns the value of all predicate registers in the object pointed to by parameter p. The returned value contains the value of each predi- cate register in the bit corresponding to the predicate register number -- for instance, bit 63 contains the value for predicate register 63. returns the contents of the instruction pointer in the object pointed to by parameter p. returns the contents of the current frame marker in the object pointed to by parameter p. returns the most recently encountered "client needs to know" return code. If no "client needs to know" conditions have been encountered, returns "Client needs to know" return codes are all of the enumerators in the enumeration with the exception of clears any "client needs to know" return code in the object pointed to by parameter p. provides the means for a tool such as a kernel debugger to obtain some of the information it needs about a kernel interruption. The values are returned via a structure of type structure from which the client can obtain the two fields, and of the format P10 unwind descriptor. For more detail, refer to unwind(5) and to RETURN VALUE
Except for the register value query functions (which are functions with prefix return the requested values on successful completion or a value equivalent to 0 otherwise. returns values from the enumeration See on unwind(5). returns on successful completion. Otherwise returns when is not in one of the following states: Init, User_Interrupted_Frame, User_Send- sig_Frame, Kernel_Bottom_Frame, Frame. EXAMPLES
Tead the value of General Register 5 in this procedure frame's context; check for range errors, query errors, etc.; then finally clear the alert code: WARNINGS
See the table in unwind(5), section subsection which lists when the values returned by the query functions are guaranteed to reflect the actual register values of the given procedure's processor state. Scratch register values, for example, are valid only after crossing a stack frame associated with an interruption. See "Chapter 5: Register Usage". AUTHOR
and were developed by HP. SEE ALSO
U_STACK_TRACE(3X), _UNW_createContextForSelf(3X), _UNW_currentContext(3X), unwind(5). Integrity Systems Only _UNW_getGR(3X)
All times are GMT -4. The time now is 01:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy