Displaying 5 results from an estimated 5 matches for "speed_t".
Did you mean:
speed_a
2000 Jan 27
1
Long awaited round 1 of NeXT patches.
...;
+ default:
+ errno = EINVAL;
+ return (-1);
+ }
+}
+
+int tcsetpgrp(int fd, pid_t pgrp)
+{
+ int s;
+
+ s = pgrp;
+ return (ioctl(fd, TIOCSPGRP, &s));
+}
+
+pid_t tcgetpgrp(int fd)
+{
+ int s;
+
+ if (ioctl(fd, TIOCGPGRP, &s) < 0)
+ return ((pid_t)-1);
+
+ return ((pid_t)s);
+}
+/*
+speed_t cfgetispeed(const struct termios *);
+speed_t cfgetospeed(const struct termios *);
+*/
+
+speed_t cfgetospeed(const struct termios *t)
+{
+
+ return (t->c_ospeed);
+}
+
+speed_t cfgetispeed(t)
+ const struct termios *t;
+{
+
+ return (t->c_ispeed);
+}
+
+/*int cfsetospeed(struct termios *...
2001 Feb 04
4
next build
> *** openbsd-compat/bsd-nextstep.h.orig Sun Feb 4 00:16:16 2001
> --- openbsd-compat/bsd-nextstep.h Sun Feb 4 00:19:09 2001
> ***************
> *** 48,52 ****
> --- 48,56 ----
> speed_t cfgetispeed(const struct termios *t);
> int cfsetospeed(struct termios *t, int speed);
> int cfsetispeed(struct termios *t, int speed);
> +
> + /* LIMITS */
> + #define NGROUPS_MAX 16
> +
Hey, Steve.. since you put together the group access patch to OpenBSD. Do
you rec...
2009 Aug 14
2
Bestfortress driver, network serial patch for nut-2.0
...*/
addvar (VAR_VALUE, "baudrate", "serial line speed");
addvar (VAR_VALUE, "max_load", "rated VA load VA");
}
void upsdrv_banner(void)
{
printf("Network UPS Tools - Best Fortress UPS driver 0.01 (%s)\n\n", UPS_VERSION);
}
struct {
char * val;
speed_t speed;
} speed_table[] = {
{"1200", B1200},
{"2400", B2400},
{"4800", B4800},
{"9600", B9600},
{NULL, B1200},
};
void upsdrv_initups(void) {
speed_t speed = B1200;
char * speed_val = getval("baudrate");
char * max_load = getval("max_l...
2000 Sep 28
1
[PATCH] Next cleanup part 4 or 5 by now.=)
...);
+ stat_loc = (int *)statusp.w_status;
+ return wait_pid;
}
int
@@ -81,10 +89,7 @@
int tcsetpgrp(int fd, pid_t pgrp)
{
- int s;
-
- s = pgrp;
- return (ioctl(fd, TIOCSPGRP, &s));
+ return (ioctl(fd, TIOCSPGRP, &pgrp));
}
speed_t cfgetospeed(const struct termios *t)
diff -ru openssh/next-posix.h onext/next-posix.h
--- openssh/next-posix.h Sat Sep 23 19:10:13 2000
+++ onext/next-posix.h Thu Sep 28 16:11:21 2000
@@ -1,5 +1,24 @@
/*
- * Defines and prototypes specific to NeXT system
+ * Redistribution and use in source and bi...
2007 Jan 23
2
Voltage override in megatec and megatec-over-usb [was: Re: nut-2.0.5 megatec + Online Xanto]
On 1/23/07, Henning Brauer <hb-nut@bsws.de> wrote:
> good new first: the megatec driverin 2.0.5 now works with the Online
> Xanto S3000R here - well, for the very basics.
>
> the UPS has NO way ofidentifying itself. It also does not respond to
> the power ratings query ("F"). I previously used a hacked up fentonups
> driver. This means the driver cannot figure out