why do inode indices starts from 1 unlike array indexes which starts from 0
its a question from "the design of unix operating system" of maurice j bach
id be glad if i get to know the answer quickly
:) (0 Replies)
brothers why inode index starts from 1 unlike array inex which starts from 0
its a question from the design of unix operating system of maurice j.bach
i need to know the answer urgently...someone help please (1 Reply)
For kicks I wrote up a Password generator after lunch. Let me start with the code:
unsigned int x,y,z,c;
unsigned int KISS();
unsigned int devrand();
int main( int argc, char** argv )
{
int i, j = 1;
char pwd = "abcdefghijklmnopqrstuvwxyz"
... (5 Replies)
Hi,
I've list of files in a directory, which have date stamp value in their names.
ex:
abc_data_20071102.csv,
abc_data_20091221.csv,
abc_data_20100110.csv,
abc_data_20100222.csv,
abc_data_20080620.csv,... etc.,
I need to select and process only files, within the given date... (4 Replies)
Hi
My pipe delimited .txt file contains rows with 10 columns.
Can anyone advise how I output to file only those rows with the letters ‘ci'
as the first 2 characters in the 3rd column ?
Many thanks (4 Replies)
I have two arrays DIST(1:NCOF) and X(1:NX)
Let NCOF = 5 and NX = 15, with
DIST = and
X =
I want to create an array that puts a zero if DIST is outside the region in X, otherwise putting 1.
In this example I should get
RES =
Using DIST = would give RES =
The values in... (6 Replies)
Hi,
I have a file with the following columns:
361459 447394 CHL1
290282 290282 CHL1
361459 447394 CHL1
361459 447394 CHL1
178352861 178363529 AGA
178352861 178363529 AGA
178363657 178363657 AGA
Essentially, using CHL1 as an example. For any line that has CHL1 in... (2 Replies)
Hi,
I am new to perl and I have the following query please help here.
I have following array variables declaration
@pld1 = qw(00 01 02 03 04 05);
@pld2 = qw(10 11 12 13 14 15);
for(my $k=1;$k<=2;$k++)
{
//I want here to use @pld1 if $k is 1
// and @pld2 if $k is 2. How to do... (3 Replies)
Trying to do some control flow parsing based on the index postion of an array member. Here is the pseudo code I am trying to write in (preferably in pure bash) where possible. I am thinking regex with do the trick, but need a little help.
pesudo code
if == ENDSINFIVEINTS ]]; then
do... (4 Replies)
Hello,
I need to find out the minimum and maximum values based on specific column, and then print out the entire row with the max value.
Infile.txt:
scf6 290173 290416 . + X_047241 T_00113118-1
scf6 290491 290957 . + X_047241 T_00113118-2
scf6 290898 290957 . + X_047241 T_00113119-3
scf6... (2 Replies)
Discussion started by: yifangt
2 Replies
LEARN ABOUT HPUX
xtungrabbutton
XtUngrabButton() XtUngrabButton()
Name
XtUngrabButton - cancel a passive button grab.
Synopsis
void XtUngrabButton(widget, button, modifiers)
Widget widget;
unsigned int button;
Modifiers modifiers;
Inputs
widget Specifies the widget in whose window the button was grabbed.
button Specifies the mouse button to be ungrabbed.
modifiers Specifies the modifier keys to be ungrabbed.
Availability
Release 4 and later.
Description
XtUngrabButton() cancels a passive grab of the specified button/modifiers combination. If w is realized, XtUngrabButton() calls XUngrab-
Button() specifying the widget's window as the ungrab window, and passing the remaining arguments unmodified. If the widget is not real-
ized, XtUngrabButton() removes the deferred XtGrabButton() request, if any, for the specified widget, button, and modifiers.
The button argument is one of Button1, Button2, Button3, Button4, Button5, or the constant AnyButton, which is equivalent to issuing the
ungrab request for all possible buttons.
The modifiers argument is a bitwise OR of one or more of the following symbols: ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask,
Mod3Mask, Mod4Mask, Mod5Mask. The special value AnyModifier is also allowed; using it is equivalent to issuing the ungrab button request
for all possible modifier combinations (including no modifiers).
XtUngrabButton() has no effect on an active grab.
See XtGrabButton() for more information on passive button grabs.
Usage
You should rarely need to use passive button grabs. An automatic grab takes place between a ButtonPress event and the corresponding But-
tonRelease event, so an explicit grab is not necessary in some of the most common situations. It may be necessary for some styles of
menus, however.
Note that XtAddGrab() and spring-loaded popups can be used in place of passive grabs in many circumstances. These do not actually issue
any X server grabs.
Structures
The Modifiers type is defined as follows:
typedef unsigned int Modifiers;
See AlsoXtAddGrab(1), XtGrabButton(1), XtGrabKey(1), XtGrabKeyboard(1), XtGrabPointer(1), XtUngrabKey(1), XtUngrabKeyboard(1), XtUngrabPointer(1).
Xt - Mouse Handling XtUngrabButton()