# include <fcntl.h>
#endif
+#include <NGStreams/NGFileStream.h>
+#include <NGStreams/NGBufferedStream.h>
+#include <NGStreams/NGConcreteStreamFileHandle.h>
+#include <NGStreams/NGLockingStream.h>
+#include <NGStreams/NGStreamExceptions.h>
+#include <NGStreams/NGDescriptorFunctions.h>
#include "common.h"
#import <Foundation/NSThread.h>
-#include "NGFileStream.h"
-#include "NGBufferedStream.h"
-#include "NGConcreteStreamFileHandle.h"
-#include "NGLockingStream.h"
-#include "NGStreamExceptions.h"
-#include "NGDescriptorFunctions.h"
#if !defined(POLLRDNORM)
# define POLLRDNORM POLLIN
- (NSString *)description {
return [NSString stringWithFormat:
- @"<%@[0x%08X] path=%@ mode=%@>",
- NSStringFromClass([self class]), (unsigned)self,
- self->systemPath ? self->systemPath : @"nil",
+ @"<%@[0x%p] path=%@ mode=%@>",
+ NSStringFromClass([self class]), self,
+ self->systemPath ? self->systemPath : (NSString *)@"nil",
[self modeDescription]];
}
-@end
+@end /* NGFileStream */
+
@implementation _NGConcreteFileStreamFileHandle