Changeset 4e6a610 in mainline for uspace/lib/posix/include


Ignore:
Timestamp:
2018-06-25T09:54:28Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bfe90b6
Parents:
fb0ec570
git-author:
Jiri Svoboda <jiri@…> (2018-06-24 17:51:54)
git-committer:
Jiri Svoboda <jiri@…> (2018-06-25 09:54:28)
Message:

Temporary file functions rework. Fix libposix access() not working on directories.

Location:
uspace/lib/posix/include/posix
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/include/posix/stdio.h

    rfb0ec570 r4e6a610  
    4848extern int fileno(FILE *);
    4949
     50#define P_tmpdir "/tmp"
     51
    5052/* Identifying the Terminal */
    5153#undef L_ctermid
     
    7779
    7880/* Temporary Files */
    79 #undef L_tmpnam
    80 #define L_tmpnam PATH_MAX
    81 extern char *tmpnam(char *s);
    8281extern char *tempnam(const char *dir, const char *pfx);
    83 extern FILE *tmpfile(void);
    8482
    8583#endif /* POSIX_STDIO_H_ */
  • uspace/lib/posix/include/posix/stdlib.h

    rfb0ec570 r4e6a610  
    5858
    5959/* Legacy Declarations */
    60 extern char *mktemp(char *tmpl);
     60extern char *mktemp(char *tmpl) __attribute__((deprecated));
    6161extern int bsd_getloadavg(double loadavg[], int nelem);
    6262
Note: See TracChangeset for help on using the changeset viewer.