what's wrong with my programme
vincent chan
vshanyiao at gmail.com
Tue May 27 13:38:27 BST 2008
Hi All,
I wrote a programme to manage a block of shm about 1 or 2 months ago.It was
all right.But it broken down when I run it at today.I checked and found the
error was caused by the code as follow:
key_t shm_key = ftok(SHM_IDENTIFY,0);
if(shm_key == -1)
{
perror("ftok error");
return -1;
}
error info:
ftok error: No such file or directory
I have no idea about it at all,I didn't change my code,totally.and this is
my ubuntu's version info:
Linux version 2.6.20-16-generic (root at terranova) (gcc version 4.1.2
(Ubuntu 4.1.2-0ubuntu4))
Ubuntu 7.04
I wonder if the reason is the update?
Regards,
Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/loco-contacts/attachments/20080527/708d38d1/attachment.htm
More information about the loco-contacts
mailing list