XkbFreeGeomOverlayKeys(3) XKB FUNCTIONS XkbFreeGeomOverlayKeys(3)NAME
XkbFreeGeomOverlayKeys - Free keys in an overlay row
SYNOPSIS
void XkbFreeGeomOverlayKeys ( row, first, count, free_all )
XkbRowPtr row;
int first;
int count;
Bool free_all;
ARGUMENTS
- row row in which keys should be freed
- first
first key to be freed
- count
number of keys to be freed
- free_all
True => all keys are freed
DESCRIPTION
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify key-
board geometries. Note that these functions merely allocate space for the new element(s), and it is up to you to fill in the values
explicitly in your code. These allocation functions increase sz_* but never touch num_* (unless there is an allocation failure, in which
case they reset both sz_* and num_* to zero). These functions return Success if they succeed, BadAlloc if they are not able to allocate
space, or BadValue if a parameter is not as expected.
If free_all is True, all keys are freed regardless of the value of first and count. Otherwise, the number of keys specified by count are
freed, beginning with the key specified by first in the specified row.
RETURN VALUES
Success The XkbFreeGeomOverlayKeys function returns Success if there are no allocation or argument errors.
DIAGNOSTICS
BadAlloc Unable to allocate storage
BadValue An argument is out of range
X Version 11 libX11 1.2.1 XkbFreeGeomOverlayKeys(3)
Check Out this Related Man Page
XkbFreeGeomOverlayRows(3) XKB FUNCTIONS XkbFreeGeomOverlayRows(3)NAME
XkbFreeGeomOverlayRows - Free rows in an overlay
SYNOPSIS
void XkbFreeGeomOverlayRows ( overlay, first, count, free_all )
XkbSectionPtr overlay;
int first;
int count;
Bool free_all;
ARGUMENTS
- overlay
section in which rows should be freed
- first
first row to be freed
- count
number of rows to be freed
- free_all
True => all rows are freed
DESCRIPTION
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify key-
board geometries. Note that these functions merely allocate space for the new element(s), and it is up to you to fill in the values
explicitly in your code. These allocation functions increase sz_* but never touch num_* (unless there is an allocation failure, in which
case they reset both sz_* and num_* to zero). These functions return Success if they succeed, BadAlloc if they are not able to allocate
space, or BadValue if a parameter is not as expected.
If free_all is True, all rows are freed regardless of the value of first and count. Otherwise, the number of rows specified by count are
freed, beginning with the row specified by first in the specified overlay.
RETURN VALUES
Success The XkbFreeGeomOverlayRows function returns Success if there are no allocation or argument errors.
DIAGNOSTICS
BadAlloc Unable to allocate storage
BadValue An argument is out of range
X Version 11 libX11 1.2.1 XkbFreeGeomOverlayRows(3)
Hi All,
I have a sequential file, with that I want to know row count within.
As know we can use, wc -l filename, to find out a row count.
But, I found this command works well , if a file is small. It fails to give me rowcount, if File is pretty big. It keeps on processing after we give the... (3 Replies)
Hi. I want to be able to update only one line in a file that matches a key using sed, but I can't seem to get this (the key is right at the beginning of each row)
Here is what I have tried so far, but every row is being updated. I want the end result to be that the input file only has the single... (6 Replies)
I want to write a script which will check the arguments and if there is a single space(if 2 more more space in a row , then do not touch), replace it with _ and then gather the argument
so, program will be ran
./programname hi hello hi usa now hello hello
so, inside of program,... (7 Replies)
Hi,
Is there any way to get count number of lines in all files which have more than o bytes in current directory
for example :
in /user/sri/ there are 3 files
abc 0 bytes
def 5 bytes
ghi 10 bytes
i need to get wc -l for all files which have > 0 bytes at a time ..is... (6 Replies)
hi
i am pretty new to unix .i am ETL guy
I need a unix script to take row count of a file and write it to another file
the problem with wc-l is it include filename also
wc -l abc.dat
will give me like 1000 abc.dat
i just want 1000 to be written
can u just take 2 min to write a simple... (1 Reply)
hi
i am pretty new to unix .i am ETL guy
I need a unix script to take row count of a file and write it to another file
the problem with wc-l is it include filename also
wc -l abc.dat
will give me like 1000 abc.dat
i just want 1000 to be written
can u just take 2 min to write a simple... (5 Replies)
Hi,
Suppose i have a inputfile in csv format.
How to use awk to count 'the number of nonempty columns in each row' minus one, and add the value as a new column in the end
For cosmetic reason, it's even better to include a descriptive label for the last column in the first row.
for... (2 Replies)
I have . dat file which contains data in a specific format:
0 3 892 921 342
1 3 921 342 543
2 4 817 562 718 765
3 3 819 562 717 761
i need to compare each field in a row with another field of the same column but different row and cont the... (8 Replies)
Hi,
I'm new to Unix. I have a file with 100 records.
I need to count the number of delimiter(,) in each row.
Please tell me how to count the delimiters for each row in a text file. (4 Replies)
Hi,
I want a row count of a file incliding header and trailer
If I do cat Filename | wc -l
then I am only getting the row count excluding the header and trailer
Buit I want the row count including Header and trailer
Please help
Many thanks in advance,
Pragyan (3 Replies)
I have a text file that is generated each morning and 9/10 runs perfectly. However, every now and again it fails and it is a nightmare to find the line that is corrupt as this job fails in the early hours when I am usually in a deep sleep.
The file is made up of a header record, a trailer... (8 Replies)
is it possible to count the number of keys based on state and cell and output it as a simple matrix.
Ex: cell1-state1 has 2 keys
cell3-state1 has 4 keys.
Note: Insert 0 if no data available.
input
key states cell
key1 state1 cell1
key1 state2 cell1
key1 ... (21 Replies)
Hi Experts,
i have a file like below
****
table name is xyz
row count for previous day 10
row count for today 20
diff between previous and today 10
scan result PASSED
****
table name is abc
row count for previous day 90
row count for today 35
diff between previous and today 55... (4 Replies)
i have below code to count number of rows in file1.txt, if the row count is more than one then i have sending an email along with file1.txt attached and fail the process(do nothing if count is <=1),
if I test individually count part works good but when i include the email part its not working,... (4 Replies)
we want the count of number of records to be printed on each row.
For Ex:
if there are 5 records on one unique id , the count "5'' should be printed on each record in other column. Please help for this. I am using unix & Cygwin.
Below are sample records:
KCZ0650473... (2 Replies)