display the current time - Minix

This is a discussion on display the current time - Minix ; i actually i am still i beginner who have a project of displaying the time when pressing a key i am using minix 3 i tried to use the functions on time.h how ever the display bas nothing and some ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: display the current time

  1. display the current time

    i actually i am still i beginner who have a project of displaying the
    time when pressing a key
    i am using minix 3
    i tried to use the functions on time.h
    how ever the display bas nothing and some times the system is blocked
    i am using in_process for displaying
    what shall i do is their another idea for display
    or another function that would be suitable for time.h ?
    thankssss

  2. Re: display the current time

    > i actually i am still i beginner who have a project of displaying the
    > time when pressing a key
    > i am using minix 3
    > i tried to use the functions on time.h
    > how ever the display bas nothing and some times the system is blocked
    > i am using in_process for displaying
    > what shall i do is their another idea for display
    > or another function that would be suitable for time.h ?


    This sound like a homework assignment, in which case you would best
    contact the university staff that is supervising it.

    In any case, printing the time is not the difficult part. First think
    for yourself what would be an appropriate place to implement such a
    thing. Think of under which circumstances the time should be printed,
    and where it should be printed to. The read Tanenbaum's book to find
    which component of the OS could do it, and locate it in the source tree.

    With kind regards,
    Erik van der Kouwe

+ Reply to Thread