summaryrefslogtreecommitdiffstatshomepage
path: root/unix/modos.c
Commit message (Collapse)AuthorAge
* py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself.Damien George2014-07-31
| | | | Addresses issue #724.
* Rename machine_(u)int_t to mp_(u)int_t.Damien George2014-07-03
| | | | See discussion in issue #50.
* unix: Fix mpconfig.h not being included before misc.hstijn2014-06-28
| | | | This fixes count_lead_ones in misc.h not compiling due to unknown types
* Prefix ARRAY_SIZE with micropython prefix MP_Emmanuel Blot2014-06-19
|
* - Cast the struct stat sb.st_ino field to machine_int_t explicitly to avoid aMarcus von Appen2014-06-07
| | | | | | | | cast error in MP_OBJ_NEW_SMALL_INT(). This is necessary for FreeBSD, where st_ino is of different size - If MP_CLOCKS_PER_SEC is defined on the target host, simply define CLOCK_DIV as a fraction, regardless of the value of MP_CLOCKS_PER_SEC. FreeBSD uses a non-POSIX compliant value of 128 for CLOCKS_PER_SEC
* modos: stat(): Accept bytes argument.Paul Sokolovsky2014-05-26
|
* unix: Fix casting issue, int to small int object.Damien George2014-05-21
|
* modos: Clean 64-bit issues.Paul Sokolovsky2014-05-15
|
* unix: Add "_os" module with stat().Paul Sokolovsky2014-05-14
stat() is bad function to use using FFI, because its ABI is largely private. To start with, Glibc .so doesn't even have "stat" symbol. Then, layout of struct stat is too implementation-dependent. So, introduce _os to deal with stat() and other similar cases.