bin/166660: new stdbuf utility



Hi hackers,

I've posted a PR bin/166660 this morning:
[patch] New util/shlib to change per-fd default stdio buffering mode

For some unknown reason, "[libc]" has been prepended to the subject, but
this patch __DOES NOT touch libc__ (except a one-line addition in a
manpage).

This is aboslutely non-intrusive and can be easily MFC'd to RELENG_9,
RELENG_8 and even RELENG_7 if it hasn't reach itf end-of-life.

In brief, this is a new tool that allow to control default fd stdio
buffering mode. The feature exists in Linux and its command-line
interface is BSD-compatible, so I used the same name and the same
interface for obvious compatibility reasons.

As you can guess, I'm looking for someone willing to test (though I've
already tested it and the code is pretty straightforward) and commit it.

You will find additional information in the PR.

Thanks.
--
Jeremie Le Hen

Men are born free and equal. Later on, they're on their own.
Jean Yanne
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Can someone clarify ipfws in/out/recv/xmit/via concepts?
    ... > spent many hours reading that manpage and working on ... NIC or kernel or ipfw or ... > If an incoming packet can be associated with an xmit ... > interface, why ...
    (freebsd-questions)
  • Can someone clarify ipfws in/out/recv/xmit/via concepts?
    ... spent many hours reading that manpage and working on my rc.firewall ... The manpage says we have incoming and outgoing packets. ... NIC or kernel or ipfw or computer? ... If an incoming packet can be associated with an xmit interface, ...
    (freebsd-questions)
  • Re: How do I permanently set the numerical ip in dmesg?
    ... kernel beginning with the most recent boot-up. ... where "xl0" is the name of the interface. ... possible the manpage for rc.conffor more information. ...
    (freebsd-questions)
  • Re: [PATCH 17/19] ceph: ioctls
    ... Is there some existing manpage I might use as a reference? ... I'm also happy to replace these ioctls with a virtual xattr interface ... that these sorts of headers normally shouldn't go in include/linux, ...
    (Linux-Kernel)
  • Re: GUI vs. the command-line
    ... interface, but yet it was still very easy to use. ... Has the GUI actually brought us progress? ... With a command-line interface, the user must consult references to ... can wield a lot of power. ...
    (comp.sys.mac.advocacy)