Hi,
I am creating DB's on the palm which have a special format of record sizes being ~ 63 KB (keeping it well below 64kb limit). I can access read/write successfully to these DB's.
These DB's are also created by a conduit to contain such records.
When I attempt a sync using a emulator, it...
hi,
Now thats something i have long wondered about.. a windoz sdk programmer can talk on this.. How do u get process IDs programmatically or otherwise on windoz..and send signals to them? do the bsd calls work? they should :(
tia,
shail
...to receive the total data? a "string" in C must be terminated with a null "\0" or 0 (ascii val) character.. is that correct for ur strings??
and btw at the end of the second while loop in jude's function u might want to add *string1 = 0; to terminate the string..
hth,
shail
hi,
there is one more concern to interpreted languages, such programs shall run as long as u have a interpreter running.. so no low level stuff, kernel etc. without compiled languages
afaik, if those r not ur concerns perl can do all and even more.. but if u were so experienced in perl, C...
hi kosuke,
lemme give u a hint..
u know how to swap variables without a temp variable?
a, b r the ints..
a=aXORb
b=bXORa (b XOR (a XOR b)) = a
a=aXORb ((a XOR b) XOR a) = b !
if strlen is n then every 'i'th character goes to (n-i) position?
hth,
shail
hi daryl,
ur fread for sizeof(item) is going to read 314 bytes straight from the curr. file pointer.. i don't see ur file data as normalized to that effect.. u would do better to read strings, build ur own parser on file description and copy in to ur item struct.
hth,
shail
hi,
this might be late.. but what the heck...
.bashlogout is executed each time u "logout" as for any other questions `man bash' will provide all the answers.
hth,
shail.
hi MikeLacey,
just want to know . what is the diff betn the two ? should give the same o/p right? u grep on process.sh first and then remove the grep process.. while the earlier was first removing the grep processes from the entire list and then grep'ing on process.sh only... other than...
hi,
why do u think that there is only process in the process list of the name "*process.sh*" ?? print the o/p of ps -ef |grep -v grep |grep process.sh each time within the if block and see who is running the other process with a _similar_ name?
hth,
shail
Hi,
Is there a way to get the kernel routing table on _any_ unix os with a c func() call rather than using the shell utility of netstat?
i have found sysctl() on bsd, but not supported on something like aix.. is there any better function.
please inform.
shail
Hi,
Is there a way to get the kernel routing table on _any_ unix os with a c func() call rather than using the shell utility of netstat?
i have found sysctl() on bsd, but not supported on something like aix.. is there any better function.
please inform.
shail
ps: cross posting to general unix...
hi paul,
i am not sure whether the restricted mode of lilo comes with default. And even if it does do you have a entry for "password = xxxxx" in your /etc/lilo.conf along with the key word "restricted"!
else lilo would boot normally with "linux single" or...
hi,
another reason is when u have a large n/w then if more than 2 different lan n/w (with different subnets ) exist then dns also helps in resolving which n/w a request belongs to. instead of sending a packet on all n/w for identification.. ofcourse as matrix7 says giving easy to identify with...
hi matrix7,
r u saying a) that users logged in from ouside on the rh6.2 box can't finger/talk with users on the same box? or b) they can't ping ur internal ip addresses from b.1) telnet session on the server b.2) from their own m/cs which donot belong to ur network?
a) -> should be directly...
if u must,
int length, i, j;
char buf[15];
num=numofgroups;
length=log10(num)+1; /*this can be leave one leading byte with a zero in it.*/
memset(buf,'0',15);
for (i=0,j=length; i<length;i++)
{
buf[--j]=num%10;
num /= 10;
}
buf[i]=0;
printf("\nnow is %d == %s ??\n"...
it is 33.
a=33 after the statement...
all r post increments.. so the lvalue returned is (10+10+10) and then u do the post increments thrice to get the new value of a=30+1+1+1=33!
hth,
shail.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.