func GetSemSet(key, count int64, flags *SemSetFlags) (*SemaphoreSet, error) {
	rc, err := C.semget(C.key_t(key), C.int(count), C.int(flags.flags()))
	if rc == -1 {
		return nil, err
	}
	return &SemaphoreSet{int64(rc), uint(count)}, nil
}
GetSemSet creates or retrieves the semaphore set for a given IPC key.
package sysvipc
import "C"
import (
	"errors"
	"time"
)
type SemaphoreSet struct {
	id    int64
	count uint
}