From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Dreier Subject: Re: [PATCH] libibverbs: Force line-buffering in ibv_asyncwatch Date: Wed, 02 Jun 2010 10:05:56 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: (=?utf-8?Q?=22?= =?utf-8?Q?H=C3=A5kon?= Bugge"'s message of "Thu, 21 Jan 2010 16:01:55 +0100") Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: =?utf-8?Q?H=C3=A5kon?= Bugge Cc: Bart Van Assche , Vladimir Sokolovsky , OFED mailing list , Or Gerlitz List-Id: linux-rdma@vger.kernel.org > setlinebuf() is pretty intuitive to understand, compared to setvbuf(). I finally applied this; however in the end I decided to do setvbuf(stdout, NULL, _IOLBF, 0); instead of setlinebuf(), since in the past I've prefered more pedantic stuff (eg posix_memalign instead of memalign) to the older simpler traditional functions. Kind of a trivial issue either way anyway. -- Roland Dreier || For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html