* Function Parameter Passing Error?
@ 2000-09-27 0:49 KIM, HYUNG-IL
0 siblings, 0 replies; only message in thread
From: KIM, HYUNG-IL @ 2000-09-27 0:49 UTC (permalink / raw)
I make a program that have semaphore operations.
That program passes SHM_P() semid and semnum as parameter.
SHM_P(semid, semnum) does "semop".
But first parameter(semid) changes wierd value when passing.
for example,
In Caller : SHM_P(345, 12)
After Called, In Callee SHM_P() Function : SHM_P(-203944234, 12).
after all semop() does unintent job.
Is there some bug in Tru64?
I have "cc" compiler, not gcc.
Should I patch OS?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-09-27 0:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-27 0:49 Function Parameter Passing Error? KIM, HYUNG-IL
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox