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 ([EMAIL PROTECTED]) (gcc version 4.1.2
(Ubuntu 4.1.2-0ubuntu4))
        Ubuntu 7.04

I wonder if the reason is the update?

Regards,
Vincent
-- 
loco-contacts mailing list
loco-contacts@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/loco-contacts

Reply via email to