Lines Matching refs:my_err
25 int my_err;
46 my_err = shmctl( my_shm_id, IPC_STAT, &my_shmid_ds );
47 if ( my_err == -1 ) {
60 my_err = shmdt( my_shm_addr );
61 if ( my_err == -1 ) {
67 my_err = 0;
71 my_err = -1;
77 return( my_err );
91 int my_err, i;
101 my_err = errno;
102 if ( my_err != EEXIST ) {
103 printf( "shm_open failed with error %d - \"%s\" \n", my_err, strerror( my_err) );
113 my_err = ftruncate( my_fd, 4096 );
114 if ( my_err == -1 ) {
119 my_err = shm_unlink( &my_name[0] );
120 if ( my_err == -1 ) {
131 my_err = 0;
135 my_err = -1;
140 return( my_err );