This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

shmget : Function not implemented


Hi,

I have got a problem with shmget.

Something wrong?

===========================================
Windows 2000 Professional
CYGWIN_NT-5.0 1.5.5(0.94/3/2)
gcc version 3.3.1 (cygming special)
===========================================

====== C code : File foo.c : BEGIN ======
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/shm.h>

int main()
{
const int id = shmget(IPC_PRIVATE, 2*sizeof(int), 0660);

  if (id == -1) printf ("ERROR : %d - %s\n", errno, strerror(errno));

  return 0;
}

====== C code : File foo.c : END ========


====== Compilation & Run : BEGIN ======

$ gcc foo.c -lcygipc

$ a

ERROR : 88 - Function not implemented

====== Compilation & Run : END ========

--
   Alex Vinokur
     mailto:alexvn@connect.to
     http://mathforum.org/library/view/10978.html





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]