MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ttyinq_set_quotes

Function ttyinq_set_quotes

freebsd/kern/tty_inq.c:264–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264static __inline void
265ttyinq_set_quotes(struct ttyinq_block *tib, size_t offset,
266 size_t length, int value)
267{
268
269 if (value) {
270 /* Set the bits. */
271 for (; length > 0; length--, offset++)
272 SETBIT(tib, offset);
273 } else {
274 /* Unset the bits. */
275 for (; length > 0; length--, offset++)
276 CLRBIT(tib, offset);
277 }
278}
279
280size_t
281ttyinq_write(struct ttyinq *ti, const void *buf, size_t nbytes, int quote)

Callers 1

ttyinq_writeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected