vsta

Check-in [8e0db21cd7]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Use named for calloc()'s parameters, as I can never remember which is which here, either (see comment for tcsetattr() :->).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:8e0db21cd700804c33e672c2e24629e07cd2d6361da43ea97e0ce9c9d004f286
User & Date: vandys 2002-01-04 17:58:58
Context
2002-01-04
18:00
Get SLIP working a little better. Clean up CVS warnings. check-in: 57a7c9b100 user: vandys tags: master, trunk
17:58
Use named for calloc()'s parameters, as I can never remember which is which here, either (see comment for tcsetattr() :->). check-in: 8e0db21cd7 user: vandys tags: master, trunk
17:56
More tweaking of distribution under CVS. check-in: a1c0fe17bf user: vandys tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to vsta/src/include/std.h.

9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <sys/types.h>
#include <string.h>

/*
 * Routine templates
 */
extern void *malloc(unsigned int), *realloc(void *, unsigned int);
extern void *calloc(unsigned int, unsigned int);
extern void free(void *);
extern char *strerror( /* ... */ );
extern int fork(void), vfork(void), tfork(voidfun, ulong);
extern long __cwd_size(void);
extern void __cwd_save(char *);
extern char *__cwd_restore(char *);
extern char *getcwd(char *, int);







|







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <sys/types.h>
#include <string.h>

/*
 * Routine templates
 */
extern void *malloc(unsigned int), *realloc(void *, unsigned int);
extern void *calloc(unsigned int _nelem, unsigned int _elemsize);
extern void free(void *);
extern char *strerror( /* ... */ );
extern int fork(void), vfork(void), tfork(voidfun, ulong);
extern long __cwd_size(void);
extern void __cwd_save(char *);
extern char *__cwd_restore(char *);
extern char *getcwd(char *, int);