Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

30 rindas
802 B

  1. /*
  2. * libcaca Colour ASCII-Art library
  3. * Copyright (c) 2006 Sam Hocevar <sam@hocevar.net>
  4. * 2009 Jean-Yves Lamoureux <jylam@lnxscene.org>
  5. * All Rights Reserved
  6. *
  7. * This library is free software. It comes without any warranty, to
  8. * the extent permitted by applicable law. You can redistribute it
  9. * and/or modify it under the terms of the Do What the Fuck You Want
  10. * to Public License, Version 2, as published by Sam Hocevar. See
  11. * http://www.wtfpl.net/ for more details.
  12. */
  13. struct floppy_drive
  14. {
  15. char type[16];
  16. u8 status;
  17. };
  18. struct floppy_info
  19. {
  20. int count;
  21. struct floppy_drive drive[2];
  22. };
  23. int floppy_get_info(struct floppy_info *floppy_info);
  24. void floppy_print_info(struct floppy_info *floppy_info);
  25. int floppy_get_status(void);