#include <sys/types.h> #include <sys/wait.h> static size_t syscall_arg__scnprintf_waitid_options(char *bf, size_t size, struct syscall_arg *arg) { int printed = 0, options = arg->val; #define P_OPTION(n) \ if (options & W##n) { \ printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", #n); \ options &= ~W##n; \ } P_OPTION(NOHANG); P_OPTION(UNTRACED); P_OPTION(CONTINUED); #undef P_OPTION if (options) printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", options); return printed; } #define SCA_WAITID_OPTIONS syscall_arg__scnprintf_waitid_options <td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td> <td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'> <input type='hidden' name='id' value='013e8167899d389075160412a8c0c5e0581e1f13'/><select name='h' onchange='this.form.submit();'> <option value='emaclite-cleanup'>emaclite-cleanup</option> <option value='master'>master</option> <option value='nds-private-remove' selected='selected'>nds-private-remove</option> <option value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&id=013e8167899d389075160412a8c0c5e0581e1f13'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/soc/pxa/magician.c?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/soc/pxa/magician.c?h=nds-private-remove&id=013e8167899d389075160412a8c0c5e0581e1f13'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/pxa/magician.c?h=nds-private-remove&id=013e8167899d389075160412a8c0c5e0581e1f13'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/soc/pxa/magician.c?h=nds-private-remove&id=013e8167899d389075160412a8c0c5e0581e1f13'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/soc/pxa/magician.c'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='013e8167899d389075160412a8c0c5e0581e1f13'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&id=013e8167899d389075160412a8c0c5e0581e1f13'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?h=nds-private-remove&id=013e8167899d389075160412a8c0c5e0581e1f13'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/soc?h=nds-private-remove&id=013e8167899d389075160412a8c0c5e0581e1f13'>soc</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/soc/pxa?h=nds-private-remove&id=013e8167899d389075160412a8c0c5e0581e1f13'>pxa</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/soc/pxa/magician.c?h=nds-private-remove&id=013e8167899d389075160412a8c0c5e0581e1f13'>magician.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/sound/soc/pxa/magician.c?h=nds-private-remove&id=013e8167899d389075160412a8c0c5e0581e1f13&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>