compilable version of segmem interface