stand.h (5e84b57828964e407a9de6e0ff32d5f0b73e8b86) | stand.h (2ef9ff7dd34a78a7890ba4d6de64da34d9c10942) |
---|---|
1/* 2 * Copyright (c) 1998 Michael Smith. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 272 unchanged lines hidden (view full) --- 281extern void ngets(char *, int); 282#define gets(x) ngets((x), 0) 283extern int fgetstr(char *buf, int size, int fd); 284 285extern int open(const char *, int); 286#define O_RDONLY 0x0 287#define O_WRONLY 0x1 288#define O_RDWR 0x2 | 1/* 2 * Copyright (c) 1998 Michael Smith. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 272 unchanged lines hidden (view full) --- 281extern void ngets(char *, int); 282#define gets(x) ngets((x), 0) 283extern int fgetstr(char *buf, int size, int fd); 284 285extern int open(const char *, int); 286#define O_RDONLY 0x0 287#define O_WRONLY 0x1 288#define O_RDWR 0x2 |
289#define O_ACCMODE 0x3 |
|
289/* NOT IMPLEMENTED */ 290#define O_CREAT 0x0200 /* create if nonexistent */ 291#define O_TRUNC 0x0400 /* truncate to zero length */ 292extern int close(int); 293extern void closeall(void); 294extern ssize_t read(int, void *, size_t); 295extern ssize_t write(int, const void *, size_t); 296extern struct dirent *readdirfd(int); --- 152 unchanged lines hidden --- | 290/* NOT IMPLEMENTED */ 291#define O_CREAT 0x0200 /* create if nonexistent */ 292#define O_TRUNC 0x0400 /* truncate to zero length */ 293extern int close(int); 294extern void closeall(void); 295extern ssize_t read(int, void *, size_t); 296extern ssize_t write(int, const void *, size_t); 297extern struct dirent *readdirfd(int); --- 152 unchanged lines hidden --- |