ldivmod, uldivmod: fix qdivrem calls
[minix.git] / include / sys / svrctl.h
blob88746d4b1f8af646a9e8962ba1d4a5003e214a59
1 /*
2 sys/svrctl.h
4 Created: Feb 15, 1994 by Philip Homburg <philip@cs.vu.nl>
5 */
7 #ifndef _SYS__SVRCTL_H
8 #define _SYS__SVRCTL_H
10 #include <sys/types.h>
12 /* Server control commands have the same encoding as the commands for ioctls. */
13 #include <minix/ioctl.h>
15 /* PM controls. */
16 #define PMGETPARAM _IOW('M', 5, struct sysgetenv)
17 #define PMSETPARAM _IOR('M', 7, struct sysgetenv)
19 /* VFS controls */
20 #define VFSSETPARAM _IOR('M', 130, struct sysgetenv)
21 #define VFSGETPARAM _IOR('M', 131, struct sysgetenv)
23 struct sysgetenv {
24 char *key; /* Name requested. */
25 size_t keylen; /* Length of name including \0. */
26 char *val; /* Buffer for returned data. */
27 size_t vallen; /* Size of return data buffer. */
30 int svrctl(int _request, void *_data);
32 #endif /* _SYS__SVRCTL_H */