/* shm_open -- open a POSIX shared memory object. Generic POSIX file version.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
#include <stdlib.h>
#include <paths.h>
-#define SHMDIR (_PATH_VARRUN "shm/")
+#define SHMDIR (_PATH_DEV "shm/")
/* Open shared memory object. */
int
/* shm_unlink -- remove a POSIX shared memory object. Generic POSIX version.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
#include <stdlib.h>
#include <paths.h>
-#define SHMDIR (_PATH_VARRUN "shm/")
+#define SHMDIR (_PATH_DEV "shm/")
/* Remove shared memory object. */
int
__mempcpy (__mempcpy (fname, SHMDIR, sizeof SHMDIR - 1),
name, namelen + 1);
-
return unlink (name);
}