Readded parameter names, taking them from the ones used at opengroup, except for sockatmark for which I used descriptor instead of "s".

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38712 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Scott McCreary 2010-09-18 22:39:14 +00:00
parent bb05c02ef9
commit e4ca362903
3 changed files with 4 additions and 4 deletions

View File

@ -114,7 +114,7 @@ extern "C" {
#endif
unsigned if_nametoindex(const char* name);
char* if_indextoname(unsigned, char* nameBuffer);
char* if_indextoname(unsigned ifindex, char* nameBuffer);
struct if_nameindex* if_nameindex(void);
void if_freenameindex(struct if_nameindex* interfaceArray);

View File

@ -184,7 +184,7 @@ int setsockopt(int socket, int level, int option, const void *value,
socklen_t length);
int shutdown(int socket, int how);
int socket(int domain, int type, int protocol);
int sockatmark(int );
int sockatmark(int descriptor);
int socketpair(int domain, int type, int protocol, int socketVector[2]);
#if __cplusplus

View File

@ -31,8 +31,8 @@ struct statvfs {
extern "C" {
#endif
int statvfs(const char *, struct statvfs *);
int fstatvfs(int, struct statvfs *);
int statvfs(const char *path, struct statvfs *buf);
int fstatvfs(int fildes, struct statvfs *buf);
#ifdef __cplusplus
}