|
From: | Lisa Vitolo |
Subject: | Re: [bug-myserver] [PATCH] Exceptions (new) |
Date: | Wed, 7 Apr 2010 23:58:36 +0200 |
Giuseppe Scrivano <address@hidden> writes:Obviously I meant:
> namespace checked
> {
> int read (int fd, void *buf, size_t count)
> {
> return gnulib::read (fd, buf, count);
> }
> ...
> }
return checkError (gnulib::read (fd, buf, count));
namespace checked
{
int read (int fd, void *buf, size_t count)
{
}
...
}
Cheers,
Giuseppe
0001-Map-POSIX-errors-to-new-exceptions.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |