[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New system calls in mintbind.h
Hi!
Here is a patch for the mintbind.h file (based of pl 44), but it is
only for the gnu compiler.
diff -uw old/mintbind.h ./mintbind.h
--- old/mintbind.h Sat Jan 7 11:07:52 1995
+++ ./mintbind.h Sat Jan 7 11:25:04 1995
@@ -488,8 +488,39 @@
trap_1_www(0x13e, (short)(vec), (short)(sig))
#define Suptime(uptime, avenrun) \
trap_1_wll(0x13f, (long)(uptime), (long)(avenrun))
+#define Dxreaddir(l, h, b, xa, xr) \
+ trap_1_wwllll(0x142, (short)(l), (long)(h), \
+ (long)(b), (long)(xa), (long)(xr))
+#define Pseteuid(id) \
+ trap_1_ww(0x143, (short)(id))
+#define Psetegid(id) \
+ trap_1_ww(0x144, (short)(id))
+#define Pgetauid() \
+ trap_1_w(0x145)
+#define Psetagid(id) \
+ trap_1_ww(0x146, (short)(id))
+#define Pgetgroups(n, gidset) \
+ trap_1_wwl(0x147, (short)(n), (long)(gidset))
+#define Psetgroups(n, gidset) \
+ trap_1_wwl(0x148, (short)(n), (long)(gidset))
+#define Tsetitimer(which, interv, val, ointerv, oval) \
+ trap_1_wwllll(0x149, (short)(which), (long)(interv), \
+ (long)(val), (long)(ointerv), (long)(oval))
+#define Scookie(action, yummy) \
+ trap_1_wwl(0x14a, (short)(action), (long)(yummy))
+#define Psetreuid(rid, eid) \
+ trap_1_www(0x14e, (short)(rid), (short)(eid))
+#define Psetregid(rid, eid) \
+ trap_1_www(0x14f, (short)(rid), (short)(eid))
+#define Sync() \
+ trap_1_w(0x150)
+#define Shutdown(restart) \
+ trap_1_wl(0x151, (long)(restart))
+#define Dreadlabel(path, label, maxlen) \
+ trap_1_wllw(0x152, (long)(path), (long)(label), (short)(maxlen))
+#define Dwritelabel(path, label) \
+ trap_1_wll(0x153, (long)(path), (long)(label))
-
#endif /* __LATTICE__ */
#endif /* __TURBOC__ */
Ciao,
Ulrich
--
+---------------+----------------------------+-----------------------+
| Ulrich Kuehn | Internet: | Life is uncertain -- |
| Cand.Math.Inf | kuehn@math.uni-muenster.de | eat the dessert first |
+---------------+----------------------------+-----------------------+