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
hi john,
this sounds like a class assignment. and so take a look at the size of ur destination string. is it large enough 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...
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...
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.