您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

30 行
813 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://sam.zoy.org/wtfpl/COPYING 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);