* Return a string representing a valid layout for a cpuset_t object. * It expects an incoming buffer at least sized as CPUSETBUFSIZ. */
| 1382 | * It expects an incoming buffer at least sized as CPUSETBUFSIZ. |
| 1383 | */ |
| 1384 | char * |
| 1385 | cpusetobj_strprint(char *buf, const cpuset_t *set) |
| 1386 | { |
| 1387 | |
| 1388 | bitset_strprint(buf, CPUSETBUFSIZ, (const struct bitset *)set, |
| 1389 | CPU_SETSIZE); |
| 1390 | return (buf); |
| 1391 | } |
| 1392 | |
| 1393 | /* |
| 1394 | * Build a valid cpuset_t object from a string representation. |
no test coverage detected