1 |
/* SunRPC management for NFS client |
/* SunRPC management for NFS client |
2 |
Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation |
Copyright (C) 1994, 1995, 1996, 1997, 2002 Free Software Foundation |
3 |
|
|
4 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
5 |
modify it under the terms of the GNU General Public License as |
modify it under the terms of the GNU General Public License as |
33 |
#include <netinet/in.h> |
#include <netinet/in.h> |
34 |
#include <assert.h> |
#include <assert.h> |
35 |
#include <errno.h> |
#include <errno.h> |
36 |
|
#include <error.h> |
37 |
#include <unistd.h> |
#include <unistd.h> |
38 |
#include <stdio.h> |
#include <stdio.h> |
39 |
|
|
371 |
int cc = read (main_udp_socket, buf, 1024 + read_size); |
int cc = read (main_udp_socket, buf, 1024 + read_size); |
372 |
if (cc == -1) |
if (cc == -1) |
373 |
{ |
{ |
374 |
perror ("nfs read"); |
error (0, errno, "nfs read"); |
375 |
continue; |
continue; |
376 |
} |
} |
377 |
else |
else |