mirror of
https://repo.or.cz/socat.git
synced 2025-07-12 22:53:24 +00:00
On bad parameter number print syntax; struct single pointers are now mostly called sfd
This commit is contained in:
parent
5eebca3a5b
commit
50b199dcd9
42 changed files with 1354 additions and 1163 deletions
|
@ -45,6 +45,12 @@ extern const struct optname optionnames[];
|
|||
|
||||
extern int xioopen_makedual(xiofile_t *file);
|
||||
|
||||
#if WITH_HELP
|
||||
extern int xio_syntax(const char *addr, int expectnum, int isnum, const char *syntax);
|
||||
#else
|
||||
#define xio_syntax(a,e,i,s) Error3("%s: wrong number of parameters (%d instead of %d)", a, i, e);
|
||||
#endif
|
||||
|
||||
#define retropt_2bytes(o,c,r) retropt_ushort(o,c,r)
|
||||
|
||||
/* mode_t might be unsigned short or unsigned int or what else? */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue